]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Sep 2018 20:41:26 +0000 (22:41 +0200)
commit0bbd7344b42a3763e298e92a36b5246fafc101c7
tree8d91f120da2c8fd6a1b9685278eeed9fefa48f9b
parentb3f70869623d5da84a21dbe8b0e13cbeac2b0f31
media: camss: csid: Configure data type and decode format properly

[ Upstream commit c628e78899ff8006b5f9d8206da54ed3bb994342 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/platform/qcom/camss-8x16/camss-csid.c