projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e647dec
)
rockchip: spi: consistently use false/true with rkspi_enable_chip
author
Philipp Tomsich
<
[email protected]
>
Sun, 3 Feb 2019 15:17:29 +0000
(16:17 +0100)
committer
Philipp Tomsich
<
[email protected]
>
Tue, 30 Apr 2019 22:00:04 +0000
(
00:00
+0200)
While rkspi_enable_chip is called with true/false everywhere else in
the file, one call site uses '0' to denot 'false'.
This change this one parameter to 'false' and effects consistency.
Signed-off-by: Philipp Tomsich <
[email protected]
>
drivers/spi/rk_spi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/rk_spi.c
b/drivers/spi/rk_spi.c
index e7b2df8d02ef904e17abac17da0f2c496fa2eacb..aaf244d426ae58a6c8fd1441ea4fc55ed2bb6052 100644
(file)
--- a/
drivers/spi/rk_spi.c
+++ b/
drivers/spi/rk_spi.c
@@
-277,7
+277,7
@@
static int rockchip_spi_claim_bus(struct udevice *dev)
uint ctrlr0;
/* Disable the SPI hardware */
- rkspi_enable_chip(regs,
0
);
+ rkspi_enable_chip(regs,
false
);
if (priv->speed_hz != priv->last_speed_hz)
rkspi_set_clk(priv, priv->speed_hz);