This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/drivers/hwmon
Nikolaus Schulz 15d1ad0cc9 hwmon: (f75375s) Catch some attempts to write to r/o registers
It makes no sense to attempt to manually configure the fan in auto mode,
or set the duty cycle directly in closed loop mode.  The corresponding
registers are then read-only.  If the user tries it nonetheless, error out
with EINVAL instead of silently doing nothing.

Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
[guenter.roeck@ericsson.com: Minor formatting cleanup]
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
2012-03-02 12:02:23 -08:00
..
2012-01-05 08:19:34 -08:00
2011-03-31 11:26:23 -03:00
2009-12-14 21:17:26 +01:00
2012-01-05 08:19:34 -08:00
2011-01-12 21:55:11 +01:00
2012-01-05 08:19:34 -08:00
2012-01-16 22:51:48 +01:00
2012-01-16 22:51:48 +01:00
2012-01-05 08:19:34 -08:00
2012-01-05 08:19:33 -08:00
2012-01-05 08:19:35 -08:00
2011-07-25 21:46:11 +02:00
2012-01-05 08:19:34 -08:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2011-03-14 22:39:11 -07:00
2009-12-14 21:17:26 +01:00
2011-07-25 21:46:09 +02:00
2012-01-29 10:35:21 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00