WSL2-Linux-Kernel/drivers/media/i2c/m5mols
Sakari Ailus 654be7dde7 media: v4l: i2c: Add a comment not to use static sub-device names in the future
A number of sub-device drivers used a static name for the sub-device, and
thus the media entity. As the entity name must be unique within a media
device, this makes it impossible to have more than one instance of each
device in a media device. This is a rather severe limitation.

Instead of fixing these drivers, add a comment to the drivers noting that
such static names may not be used in the future.

The alternative of fixing the drivers is troublesome as the entity (as
well as sub-device) name is part of the uAPI. Changing that is almost
certain to break something. As these devices are old but no-one has
encountered a problem with the static names, leave it as-is.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-10-03 11:55:44 -04:00
..
Kconfig
Makefile
m5mols.h [media] m5mols: Add missing #include <linux/sizes.h> 2012-10-10 08:17:16 -03:00
m5mols_capture.c media: m5mols: fix some kernel-doc markups 2017-11-30 04:18:55 -05:00
m5mols_controls.c media: m5mols: fix some kernel-doc markups 2017-11-30 04:18:55 -05:00
m5mols_core.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
m5mols_reg.h [media] m5mols: Implement .get_frame_desc subdev callback 2012-10-05 21:28:06 -03:00