]> git.sur5r.net Git - u-boot/commit
spi: spi-uclass: Set slave wordlen with SPI_DEFAULT_WORDLEN
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 17 Jan 2016 10:56:48 +0000 (11:56 +0100)
committerJagan Teki <jteki@openedev.com>
Tue, 23 Feb 2016 10:44:46 +0000 (16:14 +0530)
commit674f3609aad39f099a5c3605643a6be124504b96
treeeedfa14f5f03a2bf5e3374b656a106feb00cc225
parent3963919e5bf8b6fa414168d6bf36177c41bd5478
spi: spi-uclass: Set slave wordlen with SPI_DEFAULT_WORDLEN

In some case wordlen may not be set. Use SPI_DEFAULT_WORDLEN as default.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/spi/spi-uclass.c