mbox series

[0/2] media: i2c: adv748x: Refactor sw_reset handling

Message ID 20190111174141.12594-1-kieran.bingham+renesas@ideasonboard.com (mailing list archive)
Headers show
Series media: i2c: adv748x: Refactor sw_reset handling | expand

Message

Kieran Bingham Jan. 11, 2019, 5:41 p.m. UTC
The sw_reset functionality was implemented through a poorly documented
set of 'required writes' from a table.

This also included an delay in the table which required a 'hack' in the
adv748x_write() routines.

These patches rework the reset handling to a function and remove the
delay workaround.

Kieran Bingham (2):
  media: i2c: adv748x: Convert SW reset routine to function
  media: i2c: adv748x: Remove PAGE_WAIT

 drivers/media/i2c/adv748x/adv748x-core.c | 49 ++++++++++++++----------
 drivers/media/i2c/adv748x/adv748x.h      | 17 +++++++-
 2 files changed, 44 insertions(+), 22 deletions(-)