Skip to content
Commit b92e3016 authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Lee Jones
Browse files

mfd: ntxec: Change return type of ntxec_reg8 from __be16 to u16



Register values in NTXEC are big-endian on the I2C bus, but the regmap
subsystem handles the conversion between CPU-endian and big-endian data
internally. ntxec_reg8 should thus return u16, not __be16.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarJonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211218152553.744615-1-j.neuschaefer@gmx.net
parent 7620ad0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment