OSDN Git Service

media: camss: csid: Configure data type and decode format properly
authorTodor Tomov <todor.tomov@linaro.org>
Wed, 25 Jul 2018 16:38:20 +0000 (12:38 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 2 Aug 2018 10:13:30 +0000 (06:13 -0400)
commitc628e78899ff8006b5f9d8206da54ed3bb994342
tree67c97944462a9d9d3133d6806779a57607932e4f
parent7066647cdb4d3ea24fe6f34a9fc9812711eacba6
media: camss: csid: Configure data type and decode format properly

The CSID decodes the input data stream. When the input comes from
the Test Generator the format of the stream is set on the source
media pad. When the input comes from the CSIPHY the format is the
one on the sink media pad. Use the proper format for each case.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/qcom/camss/camss-csid.c