]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (occ) Check for device property for setting OCC active during probe
authorEddie James <eajames@linux.ibm.com>
Tue, 9 Aug 2022 20:07:01 +0000 (15:07 -0500)
committerJoel Stanley <joel@jms.id.au>
Wed, 28 Sep 2022 11:40:57 +0000 (21:10 +0930)
commit3aa3e2b4f2f0079b6cacd2b52e901d7e66b6bf04
treed25cf737dd01c2d14350fca8b5a5f2af94386bb8
parent3ad14df17644705a61b6828af016c04f3a6f311f
hwmon: (occ) Check for device property for setting OCC active during probe

A previous commit changed the existing behavior of the driver to skip
attempting to communicate with the OCC during probe. Return to the
previous default behavior of automatically communicating with the OCC
and make it optional with a new device-tree property.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220809200701.218059-4-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/hwmon/occ/common.c
drivers/hwmon/occ/p9_sbe.c