i2c: designware: use proper type for writel argument
We need to write DW_IC_ENABLE_ENABLE (1 << 0) to the register to enable,
but instead we were writing true. This happens to work, but is quite
unusual. Make the code more readable.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent aa60c3f commit 5e57f52c6a36f1cdc5d9ee1ec7cd8e2f149f9578
@Ahmad Fatoum Ahmad Fatoum authored on 6 Jul 2020
Sascha Hauer committed on 14 Jul 2020
Showing 1 changed file
View
drivers/i2c/busses/i2c-designware.c