]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
serial: ifx6x60: probe routine needs to call spi_setup
authorRuss Gorby <russ.gorby@intel.com>
Mon, 7 Feb 2011 20:02:31 +0000 (12:02 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 19:16:15 +0000 (11:16 -0800)
commit2aff8d90a073e5a07e1ff5a94779d6a21fb72dd2
treedbe4ec15ca988d3b4e020fdc1cde9ece98f46c8a
parent1b79b440576b80bace7b6fa012a57ed91d763b5f
serial: ifx6x60: probe routine needs to call spi_setup

The probe routine should call spi_setup() to configure
the SPI bus so it can properly communicate with the device.
E.g. the device operates in SPI mode 1.

Called spi_setup to configure SPI mode, max_speed_hz, and bpw

Signed-off-by: Russ Gorby <russ.gorby@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/ifx6x60.c