linux/drivers/media
Arvind Yadav 0bade8b543 media: sta2x11: Use gpio_is_valid() and remove unnecessary check
Replace the manual validity checks for the GPIO with the
gpio_is_valid().

In vip_gpio_reserve(), Error checking for gpio pin is not correct.
If pwr_pin = -1, It will return 0. This should be return an error.

In sta2x11_vip_init_one(), Error checking for gpio 'reset_pin'
is unnecessary. Because vip_gpio_reserve() is also checking for
valid gpio pin. So removed extra error checking for gpio 'reset_pin'.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-05-09 16:20:16 -04:00
..
cec media: rc: per-protocol repeat period and minimum keyup timer 2018-04-20 09:16:55 -04:00
common media: lgdt330x: convert it to the new I2C binding way 2018-05-04 11:09:26 -04:00
dvb-core media: dvb_net: fix dvb_net_tx()'s return type 2018-05-05 10:21:40 -04:00
dvb-frontends media: cxd2880: Changed version information 2018-05-05 10:38:18 -04:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: i2c: tvp5150: Fix open brace placement codding style 2018-05-04 15:51:49 -04:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: sta2x11: Use gpio_is_valid() and remove unnecessary check 2018-05-09 16:20:16 -04:00
platform media: platform: Use gpio_is_valid() 2018-05-09 16:17:15 -04:00
radio media: radio: allow building ISA drivers with COMPILE_TEST 2018-05-04 09:08:16 -04:00
rc media: rc: allow build pnp-dependent drivers with COMPILE_TEST 2018-05-04 09:47:45 -04:00
spi media: cxd2880-spi: Modified how to declare structure 2018-05-05 10:37:12 -04:00
tuners media: tuners: add new i2c driver for Sharp qm1d1b0004 ISDB-S tuner 2018-05-05 07:21:09 -04:00
usb media: cx231xx: Fix recursive dependency 2018-05-05 11:43:33 -04:00
v4l2-core media: videobuf: Change return type to vm_fault_t 2018-05-09 16:10:26 -04:00
Kconfig media updates for v4.17-rc1 2018-04-03 17:16:59 -07:00
Makefile
media-device.c media: zero reservedX fields in media_v2_topology 2018-02-26 09:47:53 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00