summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-layerscape/ppa.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-07-06 08:26:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-07-14 20:28:08 +0200
commit5e57f52c6a36f1cdc5d9ee1ec7cd8e2f149f9578 (patch)
tree6bab26552293c89252879119eeb8fc3830c70104 /arch/arm/mach-layerscape/ppa.c
parentaa60c3fa739dd9ddacc0b4fb7b0823a7f6bdb380 (diff)
downloadbarebox-5e57f52c6a36f1cdc5d9ee1ec7cd8e2f149f9578.tar.gz
barebox-5e57f52c6a36f1cdc5d9ee1ec7cd8e2f149f9578.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-layerscape/ppa.c')
0 files changed, 0 insertions, 0 deletions