iio: adc: vf610: fix the adc register read fail issue
Read the register only when the adc register address is 4 byte aligned. (rather than the other way around). Signed-off-by: NHaibo Chen <haibo.chen@freescale.com> Signed-off-by: NFugang Duan <B38611@freescale.com> Cc: <Stable.vger.kernel.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录