commit | 3622d3e77ecef090b5111e3c5423313f11711dfa | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Apr 19 09:58:22 2017 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Apr 25 07:08:21 2017 -0300 |
tree | 766d16bfdf2a61b193bd381bec7a2aae6cecbc4c | |
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>