]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: coda: Fix probe() if reset controller is missing
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 18 Jun 2016 14:45:15 +0000 (11:45 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 19:34:59 +0000 (16:34 -0300)
commitad1304c54c8750585d8b2794fced9d7f51b62994
treea161365d3a977bc2f81eb14ca539af91bc7aefab
parent2d5e895268c4f354c9b98d8c0d853927ea979ddf
[media] media: coda: Fix probe() if reset controller is missing

Commit 39b7f79103b8 ("reset: use ENOTSUPP instead of ENOSYS") changed
return value for reset controller if it missing.

This patch changes the CODA driver to handle this value.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/coda/coda-common.c