linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] media: max9271: Fix GPIO handling
@ 2020-11-20 16:15 Jacopo Mondi
  2020-11-20 16:15 ` [PATCH 1/2] media: max9271: Fix GPIO enable/disable Jacopo Mondi
  2020-11-20 16:15 ` [PATCH 2/2] media: rdacm20: Enable GPIO1 explicitly Jacopo Mondi
  0 siblings, 2 replies; 7+ messages in thread
From: Jacopo Mondi @ 2020-11-20 16:15 UTC (permalink / raw)
  To: kieran.bingham+renesas, laurent.pinchart+renesas,
	niklas.soderlund+renesas, geert
  Cc: Jacopo Mondi, linux-media, linux-renesas-soc, linux-kernel

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-11-23 16:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20 16:15 [PATCH 0/2] media: max9271: Fix GPIO handling Jacopo Mondi
2020-11-20 16:15 ` [PATCH 1/2] media: max9271: Fix GPIO enable/disable Jacopo Mondi
2020-11-20 19:12   ` Geert Uytterhoeven
2020-11-23 14:14   ` Kieran Bingham
2020-11-23 15:59   ` Sergei Shtylyov
2020-11-20 16:15 ` [PATCH 2/2] media: rdacm20: Enable GPIO1 explicitly Jacopo Mondi
2020-11-23 14:19   ` Kieran Bingham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).