diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2018-09-29 14:44:06 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 09:53:51 +0100 |
commit | f3c5e428e08b6e40c9c1f2972ae1f78ab5b4e5c2 (patch) | |
tree | b43b95e38a6a355403d98f5ebd923d9f0adafd77 /net/lapb/lapb_subr.c | |
parent | 67592f93ee50b335cf15da64a5221b166a703aba (diff) |
hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros
[ Upstream commit 791ebc9d34e9d212fc03742c31654b017d385926 ]
The three INA3221_CONFIG_MODE macros are not correctly defined here.
The MODE3-1 bits are located at BIT 2-0 according to the datasheet.
So this patch just fixes them by shifting all of them with a correct
offset. However, this isn't a crital bug fix as the driver does not
use any of them at this point.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions