Re: [PATCH 1/8] media: ov08x40: Properly turn sensor on/off when runtime-suspended

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/12/2024 13:47, Hans de Goede wrote:
   }
   +static DEFINE_RUNTIME_DEV_PM_OPS(ov08x40_pm_ops, ov08x40_power_on,
+                 ov08x40_power_off, NULL);
+
Ugh I have on/off swapped here, second argument of the macro is the suspend
function so that should be ov08x40_power_off. IOW this should be:

static DEFINE_RUNTIME_DEV_PM_OPS(ov08x40_pm_ops, ov08x40_power_off,
				 ov08x40_power_on, NULL);

Can you give this a try with that change?

Regards,

Hans

Heh.

That'd do it, works now.

---
bod




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux