mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
rockchip: spi: consistently use false/true with rkspi_enable_chip
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 <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
e647decdd9
commit
b6101e906f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue