]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: staging: atomisp: Do not set GPIO twice
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 27 Sep 2017 18:25:00 +0000 (14:25 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 10:20:12 +0000 (06:20 -0400)
commit81050aff3093bd34c186e36ac4b6be2a7eb17d5d
tree6905afd4030599715209276332e11b35aff0948c
parente19c92059a700453a304061ff4291dfc2de2902b
media: staging: atomisp: Do not set GPIO twice

gpiod_get() configures GPIO line at the time of successful request.
Thus, no need to do this explicitly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c