diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 03:06:13 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 03:06:13 +0200 |
commit | 76ec318118106cb25d762de83857f6579c13e273 (patch) | |
tree | ac1025b9e79a5eae04b6036d56599c0df98dcb08 /recipes-kernel/linux/rvphone/cl-imx8/0002-ov5640_mipi_v2-gpio-can-sleep.patch | |
parent | 6d270f43cfea8e840463c260b43a6afbd24c1149 (diff) |
yocto rename
Diffstat (limited to 'recipes-kernel/linux/rvphone/cl-imx8/0002-ov5640_mipi_v2-gpio-can-sleep.patch')
-rw-r--r-- | recipes-kernel/linux/rvphone/cl-imx8/0002-ov5640_mipi_v2-gpio-can-sleep.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes-kernel/linux/rvphone/cl-imx8/0002-ov5640_mipi_v2-gpio-can-sleep.patch b/recipes-kernel/linux/rvphone/cl-imx8/0002-ov5640_mipi_v2-gpio-can-sleep.patch deleted file mode 100644 index fa1c0af..0000000 --- a/recipes-kernel/linux/rvphone/cl-imx8/0002-ov5640_mipi_v2-gpio-can-sleep.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/drivers/media/platform/mxc/capture/ov5640_mipi_v2.c b/drivers/media/platform/mxc/capture/ov5640_mipi_v2.c -index d68186312635..3ad03711fc20 100644 ---- a/drivers/media/platform/mxc/capture/ov5640_mipi_v2.c -+++ b/drivers/media/platform/mxc/capture/ov5640_mipi_v2.c -@@ -536,19 +536,19 @@ static void ov5640_reset(struct ov5640 *sensor) - return; - - /* camera reset */ -- gpio_set_value(sensor->rst_gpio, 1); -+ gpio_set_value_cansleep(sensor->rst_gpio, 1); - - /* camera power dowmn */ -- gpio_set_value(sensor->pwn_gpio, 1); -+ gpio_set_value_cansleep(sensor->pwn_gpio, 1); - msleep(5); - -- gpio_set_value(sensor->rst_gpio, 0); -+ gpio_set_value_cansleep(sensor->rst_gpio, 0); - msleep(1); - -- gpio_set_value(sensor->pwn_gpio, 0); -+ gpio_set_value_cansleep(sensor->pwn_gpio, 0); - msleep(5); - -- gpio_set_value(sensor->rst_gpio, 1); -+ gpio_set_value_cansleep(sensor->rst_gpio, 1); - msleep(5); - } - |