diff options
author | Edward A. James <eajames@us.ibm.com> | 2017-08-10 16:57:48 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-08-13 08:24:38 -0700 |
commit | cbcdec6202c934bd72fca4fe9db255d84f907dbe (patch) | |
tree | 87672f2d1f5b90a48876c0b21e058e75a0fb5a6a /mm/page_poison.c | |
parent | a66a6eb9db10bd630bacf31e33505302c8e8303c (diff) | |
download | linux-cbcdec6202c934bd72fca4fe9db255d84f907dbe.tar.bz2 |
hwmon: (pmbus): Access word data for STATUS_WORD
Pmbus always reads byte data from the status register, even if
configured to use STATUS_WORD. Use a function pointer to read the
correct amount of data from the registers.
Also switch to try STATUS_WORD first before STATUS_BYTE on init.
Signed-off-by: Edward A. James <eajames@us.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'mm/page_poison.c')
0 files changed, 0 insertions, 0 deletions