]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
serial:ifx6x60:Keep word size accordance with SPI controller
authorchanning <chao.bi@intel.com>
Wed, 16 Jan 2013 05:14:20 +0000 (13:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 05:35:04 +0000 (21:35 -0800)
commit5dd070d21e2cb34b4162d564d73cca3591f94389
treedee8bf3c9b71780453d56c62caa43cd69f7d06fa
parent68e56cb3a068f9c30971c6117fbbd1e32918e49e
serial:ifx6x60:Keep word size accordance with SPI controller

As protocol driver, IFX SPI driver initiate to setup SPI master with default
SPI word size as 16 bit/word, however, SPI master may not adopt this default
value due to SPI controller's capability, it might choose an available value by
itself and set it to spi_device.bits_per_word. In order to keep align with
Controller, IFX driver should make use of this value during SPI transfer,
but the default one.

Signed-off-by: Chen Jun <jun.d.chen@intel.com>
Signed-off-by: channing <chao.bi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/ifx6x60.c