media: smiapp: Differentiate CCS sensors from SMIA in subdev naming
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 2 Sep 2020 13:51:29 +0000 (15:51 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Dec 2020 14:44:57 +0000 (15:44 +0100)
commit571b6caff4e890035deeb1451f2c1e5dca0e0dd2
treefc4e2a9657de855561b97e2957e648d873aa04ac
parent161cc847370a92f2d39f79edc640b599a497c862
media: smiapp: Differentiate CCS sensors from SMIA in subdev naming

Call CCS compliant sensors as "ccs" instead of "smiapp" in absence of a
device specific name. This is done based on the value of the manufacturer
ID register that is only present in CCS.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/smiapp/ccs-core.c