Re: [PATCH v3 3/3] iio: accel: kionix-kx022a: Fix IPOL macro name
From: Jonathan Cameron
Date: Sun Sep 06 2026 - 17:38:20 EST
On Wed, 2 Sep 2026 11:49:18 +0300
Matti Vaittinen <matti.vaittinen@xxxxxxxxx> wrote:
> From: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
>
> The "interrupt polarity high"-macro for KX022A variant is defined as:
> "#define KX022A_MASK_IPOL KX022A_MASK_IPOL1"
>
> However, the KX022A_MASK_IPOL1 is not defined anywhere, so actually
> using the KX022A_IPOL_HIGH would produce a compile error.
>
> Fix the define by using correct mask.
>
> Fixes: 7c1d1677b322 ("iio: accel: Support Kionix/ROHM KX022A accelerometer")
> Signed-off-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
> Reviewed-by: Mehdi Djait <mehdi.djait@xxxxxxxxxxxxxxx>
This one can go the slow way. Applied to the testing branch of iio.git.
Thanks,
Jonathan