]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: pasemi: Add registers bits and switch to BIT()
authorSven Peter <sven@svenpeter.dev>
Sat, 22 Feb 2025 13:38:33 +0000 (13:38 +0000)
committerAndi Shyti <andi.shyti@kernel.org>
Sat, 22 Mar 2025 12:11:52 +0000 (13:11 +0100)
commit8b4da3ef92060c281aa3c541ed7aab51500cf7c8
treef4c4e181331c553d8f048572807308c6af008788
parent088b1ca970ba6cac141f684b7592ce56bd25e7ea
i2c: pasemi: Add registers bits and switch to BIT()

Add the missing register bits to the defines and also switch
those to use the BIT macro which is much more readable than
using hardcoded masks

Co-developed-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250222-pasemi-fixes-v1-1-d7ea33d50c5e@svenpeter.dev
drivers/i2c/busses/i2c-pasemi-core.c