upstream: [media] smiapp: Use I2C adapter ID and address in the sub-device name
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 26 Mar 2014 16:34:29 +0000 (13:34 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:13 +0000 (11:55 +0900)
commit279fc0b8afb65339c35c6ce06b70609b5b1c9b67
treefff1fb9eb70952481a275150567848df959f737c
parent6e6bc2519677791c228c6c49fd1d105c3f1e49d0
upstream: [media] smiapp: Use I2C adapter ID and address in the sub-device name

The sub-device names should be unique. Should two identical sensors be
present in the same media device they would be indistinguishable. The names
will change e.g. from "vs6555 pixel array" to "vs6555 1-0010 pixel array".

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c