]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: ccs: Fail the probe on CCS static data parser failure
authorMehdi Djait <mehdi.djait@linux.intel.com>
Thu, 12 Dec 2024 13:40:04 +0000 (14:40 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 19 Dec 2024 11:50:15 +0000 (12:50 +0100)
commitf8d0343046655590723628cc0c240161995c135d
treef8c82053bf994231554361293b6796c145ac362d
parenta29053906c9a73fe16cc0bc814f7a5fe6bdfd4f2
media: ccs: Fail the probe on CCS static data parser failure

No need to continue probing when the CCS static data parser fails. Improve
this by checking the return value and correctly exiting on failure.

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