Message ID | 20241219134940.15472-1-hdegoede@redhat.com |
---|---|
Headers | show |
Series | media: ov08x40: Various improvements | expand |
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
On 20/12/2024 13:59, Hans de Goede wrote: > I guess you are going to test the rest of the series and then provided > a Tested-by? > > If yes then I'll wait with posting v2 until you're done testing. I can give you Tested-by: for the series now + the change we discussed. --- bod
On 19/12/2024 13:49, Hans de Goede wrote: > ov08x40_identify_module() already logs an error if the read ID mismatches, > so having its caller also log an error results in 2 errors in this case. > > Add error logging to the ID register read in ov08x40_identify_module() and > drop the error logging in the caller. > > Signed-off-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
On 19/12/2024 13:49, Hans de Goede wrote: > The driver might skip the ov08x40_identify_module() on probe() based on > the acpi_dev_state_d0() check done in probe(). > > If the ov08x40_identify_module() call is skipped on probe() it should > be done on the first stream start. Add the missing call. > > Note ov08x40_identify_module() will only do something on its first call, > subsequent calls are no-ops. > > Signed-off-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>