Re: [PATCH 12/12] iio: accel: kionix-kx022a: Fix IPOL macro name
Matti Vaittinen <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for all the reviews Mehdi. Much appreciated! On 12/08/2026 14:53, Mehdi Djait wrote: > Hi Matti, > > Thank you for the patch! > > On Mon, Aug 10, 2026 at 10:55:25AM +0300, Matti Vaittinen wrote: >> From: Matti Vaittinen <[email protected]> >> >> The "interrupt polarity high" -macro for KX022A variant is defined as: > > -macro ? Yes, the "interrupt polarity high"-macro ;) I should probably have used the proper name of the macro here ^_^; > defined as what ? as "KX022A_MASK_IPOL1". Seems like my brains moved to the next topic before hands finished writing this one :| Thanks for pointing it out :) >> 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. > > Reviewed-by: Mehdi Djait <[email protected]> > Yours, -- Matti -- Matti Vaittinen Linux kernel developer at ROHM Semiconductors Oulu Finland ~~ When things go utterly wrong vim users can always type :help! ~~