]> git.dujemihanovic.xyz Git - u-boot.git/commit
SPI: mxc_spi: delay initialisation until claim bus
authorMarkus Niebel <Markus.Niebel@tq-group.com>
Thu, 23 Oct 2014 14:09:39 +0000 (16:09 +0200)
committerJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Mon, 27 Oct 2014 17:07:03 +0000 (22:37 +0530)
commit027a9a002455a1175b0f5b7c7c5350afab2b4421
tree35c56ececbf2bcd912fa0f9ee824da086c25d507
parentba3451d3d8990fec10c1addc689448bd5b81dc62
SPI: mxc_spi: delay initialisation until claim bus

it is not correct to init for a specific slave in spi_setup_slave.
instead buffer the values and delay init until spi_claim_bus.

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
drivers/spi/mxc_spi.c