diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-04-19 09:58:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-04-25 07:08:21 -0300 |
commit | 3622d3e77ecef090b5111e3c5423313f11711dfa (patch) | |
tree | 766d16bfdf2a61b193bd381bec7a2aae6cecbc4c /lib/crc-itu-t.c | |
parent | 9eb9db3a0f92b75ec710066202e0b2accb45afa9 (diff) |
[media] ov2640: print error if devm_*_optional*() fails
devm_gpiod_get_optional() can return -ENOSYS if GPIOLIB is
disabled, causing probe to fail. Warn the user if this
happens.
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions