OSDN Git Service

media: ti-vpe: cal: fix dummy read to phy
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 25 Mar 2020 12:15:04 +0000 (13:15 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 10:50:09 +0000 (12:50 +0200)
commitc1075243e56caf084da9056fb85a98bc9cf22554
tree1ea6314fdfe1e7c652e05db3fc4abd602dd6fd25
parentf77f2e1f29469394d9113669a88079863f37fc29
media: ti-vpe: cal: fix dummy read to phy

After ComplexIO reset, a dummy read to PHY is needed as per CAL spec to
finish the reset. Currently the driver reads a ComplexIO register, not
PHY register. Fix this.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/ti-vpe/cal.c