linux-stable/drivers/media
Ezequiel Garcia 517fd2b6a0 media: v4l2-async: Add waiting subdevices debugfs
There is currently little to no information available about the reasons
why a v4l2-async device hasn't probed completely.

Inspired by the "devices_deferred" debugfs file, add a file to list
information about the subdevices that are on waiting lists, for each
notifier.

This is useful to debug v4l2-async subdevices and notifiers, for instance
when doing device bring-up.

For instance, a typical output would be:

$ cat /sys/kernel/debug/video4linux/pending_async_subdevices
ipu1_csi1:
 [fwnode] dev=20e0000.iomuxc-gpr:ipu1_csi1_mux, node=/soc/bus@2000000/iomuxc-gpr@20e0000/ipu1_csi1_mux
ipu1_csi0:
 [fwnode] dev=20e0000.iomuxc-gpr:ipu1_csi0_mux, node=/soc/bus@2000000/iomuxc-gpr@20e0000/ipu1_csi0_mux
imx6-mipi-csi2:
 [fwnode] dev=1-003c, node=/soc/bus@2100000/i2c@21a4000/camera@3c
imx-media:

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-01-27 15:47:54 +01:00
..
cec media: cec: fix trivial style warnings 2021-01-12 18:20:01 +01:00
common media: videobuf2-v4l2: remove redundant error test 2021-01-27 14:16:05 +01:00
dvb-core media: dvb_frontend: Fix fall-through warnings for Clang 2021-01-27 12:55:53 +01:00
dvb-frontends media: Fix RTL2832 not depending on REGMAP_I2C 2021-01-27 14:42:23 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: i2c/ov02a10.c: add cast to fix type mismatch 2021-01-27 08:39:30 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: smipcie: switch from 'pci_' to 'dma_' API 2021-01-27 14:43:03 +01:00
platform media: rcar-vin: Route events to correct video device 2021-01-27 14:42:05 +01:00
radio media: si4713: remove trailing semicolon in macro definition 2020-12-03 08:54:13 +01:00
rc media: rc: select CONFIG_BITREVERSE where needed 2021-01-27 13:18:08 +01:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vicodec: Do not zero reserved fields 2021-01-27 13:21:44 +01:00
tuners media: qm1d1c0042: fix error return code in qm1d1c0042_init() 2021-01-27 12:59:17 +01:00
usb media: uvcvideo: Rename debug functions 2021-01-27 15:08:19 +01:00
v4l2-core media: v4l2-async: Add waiting subdevices debugfs 2021-01-27 15:47:54 +01:00
Kconfig media: Remove superfluous dependency for MEDIA_SUPPORT_FILTER 2020-11-27 12:19:25 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00