]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: pxa: add and use definitions for IBMR register
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 27 Apr 2020 18:49:01 +0000 (19:49 +0100)
committerWolfram Sang <wsa@kernel.org>
Tue, 5 May 2020 12:50:27 +0000 (14:50 +0200)
commite23aeb9e92133800cc91c87c468a54f3164ae4f4
treedd1839a7db98887ad919d1002b33a252c843c4e1
parentcd721f0f0bc5626e7502a557e55e1e13c3d9ca36
i2c: pxa: add and use definitions for IBMR register

Add definitions for the bits in the IBMR register, and use them in the
code. This improves readability.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-pxa.c