commit | c159be9e902a59a117e67d466c872ecc46240ba5 | [log] [tgz] |
---|---|---|
author | Edward A. James <eajames@us.ibm.com> | Thu Aug 10 16:57:49 2017 -0500 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Aug 13 08:24:38 2017 -0700 |
tree | df4934e6c3f2c7da0396f391cdefb642f9ca172e | |
parent | cbcdec6202c934bd72fca4fe9db255d84f907dbe [diff] |
hwmon: (pmbus): Add generic alarm bit for iin and pin Add PB_STATUS_INPUT as the generic alarm bit for iin and pin. We also need to redo the status register checking before setting up the boolean attribute, since it won't necessarily check STATUS_WORD if the device doesn't support it, which we need for this bit. Signed-off-by: Edward A. James <eajames@us.ibm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>