mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
f07e572f64
bcm2708: boot tested on RPi B+ v1.2 bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G bcm2710: boot tested on RPi 3B v1.2 bcm2711: boot tested on RPi 4B v1.1 4G Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From 8c3334dd193798648c329779ce7a3c6ddec7944e Mon Sep 17 00:00:00 2001
|
|
From: Andrey Konovalov <andrey.konovalov@linaro.org>
|
|
Date: Fri, 12 Jun 2020 15:53:47 +0200
|
|
Subject: [PATCH] media: i2c: imx290: fix the order of the args in
|
|
SET_RUNTIME_PM_OPS()
|
|
|
|
Commit 8d2d1bedb1b9af3e0c039a4444858da7b6da71f8 upstream.
|
|
|
|
The macro is defined as SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn),
|
|
so imx290_power_off must be the 1st arg, and imx290_power_on the 2nd.
|
|
|
|
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
|
|
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
|
---
|
|
drivers/media/i2c/imx290.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/media/i2c/imx290.c
|
|
+++ b/drivers/media/i2c/imx290.c
|
|
@@ -648,7 +648,7 @@ static int imx290_power_off(struct devic
|
|
}
|
|
|
|
static const struct dev_pm_ops imx290_pm_ops = {
|
|
- SET_RUNTIME_PM_OPS(imx290_power_on, imx290_power_off, NULL)
|
|
+ SET_RUNTIME_PM_OPS(imx290_power_off, imx290_power_on, NULL)
|
|
};
|
|
|
|
static const struct v4l2_subdev_video_ops imx290_video_ops = {
|