Skip to content

Commit

Permalink
media: camss: csid-170: support more than one lite vfe
Browse files Browse the repository at this point in the history
Change the IS_LITE condition so that it returns true for the second lite
vfe found on titan 480 hardware (8250), which will have id == 3.

Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Robert Foss <[email protected]>
Tested-by: Julian Grahsl <[email protected]>
Tested-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
flto authored and mchehab committed Jan 23, 2022
1 parent 7d82108 commit 4ea0df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/qcom/camss/camss-csid-170.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* interface support. As a result of that it has an
* alternate register layout.
*/
#define IS_LITE (csid->id == 2 ? 1 : 0)
#define IS_LITE (csid->id >= 2 ? 1 : 0)

#define CSID_HW_VERSION 0x0
#define HW_VERSION_STEPPING 0
Expand Down

0 comments on commit 4ea0df1

Please sign in to comment.