linux/drivers/media/i2c
Jacopo Mondi eccf442ce1 media: i2c: adv748x: Support probing a single output
Currently the adv748x driver will fail to probe unless both of its
output endpoints (TXA and TXB) are connected.

Make the driver support probing provided that there is at least one
input, and one output connected and protect the clean-up function from
accessing un-initialized fields.

Following patches will fix other uses of un-initialized TXs in the driver,
such as power management functions.

Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-10-04 14:47:56 -04:00
..
adv748x media: i2c: adv748x: Support probing a single output 2018-10-04 14:47:56 -04:00
cx25840 media: rc: Remove init_ir_raw_event and DEFINE_IR_RAW_EVENT macros 2018-10-04 14:22:27 -04:00
et8ek8 media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
m5mols media: v4l: i2c: Add a comment not to use static sub-device names in the future 2018-10-03 11:55:44 -04:00
s5c73m3 media: v4l: i2c: Add a comment not to use static sub-device names in the future 2018-10-03 11:55:44 -04:00
smiapp media: smiapp: Remove unused loop 2018-10-03 11:59:10 -04:00
soc_camera media: v4l: Remove support for crop default target in subdev drivers 2018-10-03 11:58:24 -04:00
ad5820.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
ad9389b.c media: ad9389b/adv7511: set proper media entity function 2018-07-25 07:51:58 -04:00
adp1653.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
adv7170.c [media] adv7170: drop redundant ret local 2017-01-30 15:47:05 -02:00
adv7175.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
adv7180.c media: adv7180: convert to SPDX identifiers 2018-09-12 09:29:33 -04:00
adv7183_regs.h scripts/spelling.txt: add "swithc" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
adv7183.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
adv7343_regs.h
adv7343.c media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
adv7393_regs.h
adv7393.c media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
adv7511.c media: hdmi.h: rename ADOBE_RGB to OPRGB and ADOBE_YCC to OPYCC 2018-09-24 09:28:41 -04:00
adv7604.c media: replace ADOBERGB by OPRGB 2018-09-24 09:21:47 -04:00
adv7842.c media: cec/v4l2: move V4L2 specific CEC functions to V4L2 2018-09-24 09:11:04 -04:00
ak881x.c media: v4l: Remove support for crop default target in subdev drivers 2018-10-03 11:58:24 -04:00
ak7375.c media: ak7375: Add ak7375 lens voice coil driver 2018-07-04 07:13:34 -04:00
aptina-pll.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
aptina-pll.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
bt819.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
bt856.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
bt866.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
cs53l32a.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
cs3308.c [media] media/i2c: Delete owner assignment 2016-09-06 16:21:24 -03:00
cs5345.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dw9714.c media: dw9714: Update to SPDX license identifier 2018-04-04 06:12:53 -04:00
dw9807-vcm.c media: dw9807-vcm: Remove redundant pm_runtime_set_suspended in remove 2018-09-17 14:56:28 -04:00
imx258.c media: imx258: Check the rotation property has a value of 180 2018-06-27 09:49:11 -04:00
imx274.c media: imx274: switch to SPDX license identifier 2018-09-17 15:15:28 -04:00
ir-kbd-i2c.c media: rc: probe zilog transmitter when zilog receiver is found 2018-05-04 08:22:36 -04:00
Kconfig media: ov9650: use SCCB regmap 2018-08-31 09:13:42 -04:00
ks0127.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ks0127.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
lm3560.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
lm3646.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
m52790.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
Makefile media: ov2680: Add Omnivision OV2680 sensor driver 2018-07-27 12:40:48 -04:00
max2175.c media: i2c: max2175: convert to SPDX identifiers 2018-09-12 10:51:18 -04:00
max2175.h media: i2c: max2175: convert to SPDX identifiers 2018-09-12 10:51:18 -04:00
ml86v7667.c [media] drivers: media: i2c: ml86v7667: constify v4l2_subdev_* structures 2017-02-03 09:34:43 -02:00
msp3400-driver.c media: msp3400: declare its own pads 2018-09-17 13:16:19 -04:00
msp3400-driver.h media: msp3400: declare its own pads 2018-09-17 13:16:19 -04:00
msp3400-kthreads.c treewide: Align function definition open/close braces 2018-03-26 11:13:09 +02:00
mt9m032.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9m111.c media: v4l: Remove support for crop default target in subdev drivers 2018-10-03 11:58:24 -04:00
mt9p031.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9t001.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9t112.c media: v4l: Remove support for crop default target in subdev drivers 2018-10-03 11:58:24 -04:00
mt9v011.c media: convert g/s_parm to g/s_frame_interval in subdevs 2018-02-22 12:27:35 -05:00
mt9v032.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9v111.c media: i2c: mt9v111: Fix v4l2-ctrl error handling 2018-09-10 12:13:41 -04:00
noon010pc30.c media: v4l: i2c: Add a comment not to use static sub-device names in the future 2018-10-03 11:55:44 -04:00
ov772x.c media: v4l: Remove support for crop default target in subdev drivers 2018-10-03 11:58:24 -04:00
ov2640.c media: v4l: Remove support for crop default target in subdev drivers 2018-10-03 11:58:24 -04:00
ov2659.c media: entity: Add a nop variant of media_entity_cleanup 2018-01-23 08:12:01 -05:00
ov2680.c media: ov2680: rename ov2680_v4l2_init() to ov2680_v4l2_register() 2018-09-17 15:19:59 -04:00
ov2685.c media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers 2018-08-31 09:23:53 -04:00
ov5640.c media: ov5640: use JPEG mode 3 for 720p 2018-10-03 11:58:43 -04:00
ov5645.c media: ov5645: Supported external clock is 24MHz 2018-07-24 15:00:22 -04:00
ov5647.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
ov5670.c media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers 2018-08-31 09:23:53 -04:00
ov5695.c media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers 2018-08-31 09:23:53 -04:00
ov6650.c media: v4l: Remove support for crop default target in subdev drivers 2018-10-03 11:58:24 -04:00
ov7251.c media: Add a driver for the ov7251 camera sensor 2018-05-17 06:22:08 -04:00
ov7640.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ov7670.c media: i2c: ov7670: Put ep fwnode after use 2018-07-24 15:01:27 -04:00
ov7740.c media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers 2018-08-31 09:23:53 -04:00
ov9650.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
ov13858.c media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers 2018-08-31 09:23:53 -04:00
rj54n1cb0c.c media: v4l: Remove support for crop default target in subdev drivers 2018-10-03 11:58:24 -04:00
s5k4ecgx.c media: v4l: i2c: Add a comment not to use static sub-device names in the future 2018-10-03 11:55:44 -04:00
s5k5baf.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
s5k6a3.c media: s5k6a3: document some fields at struct s5k6a3 2017-11-30 04:18:57 -05:00
s5k6aa.c media: v4l: i2c: Add a comment not to use static sub-device names in the future 2018-10-03 11:55:44 -04:00
saa711x_regs.h MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
saa717x.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
saa6588.c [poll] annotate SAA6588_CMD_POLL users 2018-02-15 13:11:48 -05:00
saa6752hs.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
saa7110.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
saa7115.c media: saa7115: declare its own pads 2018-09-17 13:16:19 -04:00
saa7127.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
saa7185.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
smiapp-pll.c [media] smiapp-pll: Don't complain aloud about failing PLL calculation 2016-10-21 15:15:06 -02:00
smiapp-pll.h
sony-btf-mpx.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sr030pc30.c media: sr030pc30: remove NULL in sr030pc30_base_config() 2018-09-17 15:19:10 -04:00
tc358743_regs.h media: i2c: add SPDX license info 2018-02-14 13:16:31 -05:00
tc358743.c media: replace ADOBERGB by OPRGB 2018-09-24 09:21:47 -04:00
tda1997x_regs.h media: i2c: Add TDA1997x HDMI receiver driver 2018-02-22 12:53:32 -05:00
tda1997x.c media: rename MEDIA_ENT_F_DTV_DECODER to MEDIA_ENT_F_DV_DECODER 2018-07-25 07:49:28 -04:00
tda7432.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
tda9840.c media: tda9840: cleanup a warning 2018-03-23 07:48:08 -04:00
tea6415c.c
tea6415c.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tea6420.c
tea6420.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ths7303.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ths8200_regs.h
ths8200.c media: ths8200: constify i2c_device_id 2017-08-26 08:43:40 -04:00
tlv320aic23b.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tvaudio.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
tvp514x_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tvp514x.c media: adv7180/tvp514x/tvp7002: fix entity function 2018-07-25 07:52:42 -04:00
tvp5150_reg.h media: tvp5150: Add sync lock interrupt handling 2018-09-17 13:30:28 -04:00
tvp5150.c media: v4l: Remove support for crop default target in subdev drivers 2018-10-03 11:58:24 -04:00
tvp7002_reg.h MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
tvp7002.c media: adv7180/tvp514x/tvp7002: fix entity function 2018-07-25 07:52:42 -04:00
tw2804.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tw9903.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tw9906.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tw9910.c media: tw9910: Replace msleep(1) with usleep_range 2018-03-06 11:57:16 -05:00
uda1342.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
upd64031a.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
upd64083.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
video-i2c.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
vp27smpx.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vpx3220.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
vs6624_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vs6624.c media: i2c: vs6624: Replace mdelay() with msleep() and usleep_range() in vs6624_probe() 2018-07-27 08:11:57 -04:00
wm8739.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
wm8775.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00