commit | 5060e35ee5a81576b4c682eeb2131f2936fe5ffb | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Wed Apr 29 01:05:47 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Wed May 20 12:32:18 2020 +0200 |
tree | d6a5bfc6f329ad9caa92caec36c8a6174658937a | |
parent | 0a76fd8e8d202dcaabc714850205d5d75c9b8271 [diff] |
media: atomisp: use regulator_get_optional() for first attempt Some BIOSes seem to use different names for some regulators. Use regulator_get_optional() for the first attempt, in order to avoid using the dummy regulator and produce a warning, in the case that the first attempt fails. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>