Kieran Bingham ac105ab213 media: i2c: adv748x: Convert SW reset routine to function
The ADV748x is currently reset by writting a small table of registers to
the device.

The table lacks documentation and contains magic values to perform the
actions, including using a fake register address to introduce a delay
loop.

Remove the table, and convert to code, documenting the purpose of the
specific writes along the way.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-02-18 11:24:49 -05:00
..
2018-09-11 13:32:17 -04:00
2018-12-25 13:00:14 -08:00
2018-12-25 13:00:14 -08:00
2018-12-25 13:00:14 -08:00
2018-09-11 13:32:17 -04:00
2018-09-11 13:32:17 -04:00
2019-01-25 11:02:04 -02:00
2018-09-17 13:16:19 -04:00
2018-12-25 13:00:14 -08:00
2018-11-19 10:40:33 +10:00
2018-03-23 07:48:08 -04:00