Re: [PATCH 08/16] [media] adv7180: Consolidate video mode setting

2015-01-16 Thread Hans Verkuil
Hi Lars, On 01/13/2015 01:01 PM, Lars-Peter Clausen wrote: We have basically the same code to set the video standard in init_device() and adv7180_s_std(). Factor this out into a common helper function. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/media/i2c/adv7180.c | 67

[PATCH 08/16] [media] adv7180: Consolidate video mode setting

2015-01-13 Thread Lars-Peter Clausen
We have basically the same code to set the video standard in init_device() and adv7180_s_std(). Factor this out into a common helper function. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/media/i2c/adv7180.c | 67 ++--- 1 file changed, 32