Re: [PATCH 03/11] media: adv7180: add power pin control

2016-07-07 Thread Lars-Peter Clausen
> @@ -1190,6 +1207,20 @@ out_unlock: > return ret; > } > > +static int adv7180_of_parse(struct adv7180_state *state) Since there is nothing of specific in here anymore the name should be changed, or maybe just inline the code directly in probe. > +{ > + struct i2c_client *client = st

Re: [PATCH 03/11] media: adv7180: add power pin control

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 3:59 PM, Steve Longerbeam wrote: > Some targets control the ADV7180 power pin via a gpio, so add > support for "pwdn-gpio" pin control. > > Signed-off-by: Steve Longerbeam > --- > drivers/media/i2c/Kconfig | 2 +- > drivers/media/i2c/adv7180.c | 37 +

[PATCH 03/11] media: adv7180: add power pin control

2016-07-06 Thread Steve Longerbeam
Some targets control the ADV7180 power pin via a gpio, so add support for "pwdn-gpio" pin control. Signed-off-by: Steve Longerbeam --- drivers/media/i2c/Kconfig | 2 +- drivers/media/i2c/adv7180.c | 37 + 2 files changed, 38 insertions(+), 1 deletion(-) di