Files
RubenKelevra 7ffdae8c47 hm1055: fix set_brightness error handling & logging
The old code always wrote BRIGHT even if enabling ISPCTRL5 failed,
while also overwriting the first error code. It also used
`if (ret != 0)` to log/update status, so we reported success when
the write actually failed.

Guard the BRIGHT write behind a successful ISPCTRL5 write and only log /
update `sensor->status.brightness` when both writes succeed. This keeps
the original error, and prevents false success reports.
2025-07-17 07:39:51 +02:00
..
2021-07-15 17:17:15 +03:00
2025-04-17 17:44:36 -07:00
2024-11-15 12:39:16 +08:00
2021-07-15 17:17:15 +03:00
2021-07-20 11:08:07 +03:00
2021-07-15 17:17:15 +03:00
2021-07-15 17:17:15 +03:00
2022-12-08 15:18:34 +02:00