mbox series

[0/2] media: max9271: Fix GPIO handling

Message ID 20201120161529.236447-1-jacopo+renesas@jmondi.org
Headers show
Series media: max9271: Fix GPIO handling | expand

Message

Jacopo Mondi Nov. 20, 2020, 4:15 p.m. UTC
While working on RDACM21 camera integration I found the GPIO handling
code in the max9271 library driver had a few bugs, that went un-noticed
when the library has been used to upstream RDACM20 as the GPIO lines are
not explicitly enabled.

Fix the GPIO handling code in the max9271 library driver and make rdacm20
a little more robust by enabling the GPIO1 line explicitly.

Tested on H3 Salvator-X with MAXIM GMLS expansion board.

Thanks
   j

Jacopo Mondi (2):
  media: max9271: Fix GPIO enable/disable
  media: rdacm20: Enable GPIO1 explicitly

 drivers/media/i2c/max9271.c |  8 ++++----
 drivers/media/i2c/rdacm20.c | 13 +++++++++++--
 2 files changed, 15 insertions(+), 6 deletions(-)

--
2.29.1