]> 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)
commit1bf6b5dd68bfc87a421dcce5cd7d60136805bd13
treea161365d3a977bc2f81eb14ca539af91bc7aefab
parent46b62263711f74660efa4672e2c562e198ce6be9
[media] media: coda: Fix probe() if reset controller is missing

Commit 0b777c17f4bd ("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