commit | 1700507d8c1b3578152c8afa8062a66e78e3a4bb | [log] [tgz] |
---|---|---|
author | Rui Miguel Silva <rui.silva@linaro.org> | Thu Dec 03 16:07:49 2015 +0000 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Thu Dec 03 15:33:34 2015 -0800 |
tree | ff60c6c6ec7f1c62d3e42b5091c5126b3567e7fc | |
parent | d644181fe60f4fcfca7e9e9e9b0503993e391e69 [diff] |
greybus: lights: default value for v4l2 flash controls V4l2 flash will return erro ERANGE if val(which is the default value) is not defined. Just set it to the max value reported by the module. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>