]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: spi: Correct chip-enable code
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:44:11 +0000 (19:44 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:36 +0000 (20:42 -0700)
commite15af8e2cdb169b59945145a118a344b52d0ffa2
tree4baaed94c2b8f932d445b661556b4dd95c0adabf
parent183a3a0f67162a2ac1f0f4c48288417c5a6e8538
rockchip: spi: Correct chip-enable code

At present there is an incorrect call to rkspi_enable_chip(). It should
be disabling the chip, not enabling it. Correct this and ensure that the
chip is disabled when releasing the bus.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/spi/rk_spi.c