NFC: NCI: allow spi driver to choose transfer clock
authorVincent Cuissard <cuissard@marvell.com>
Mon, 26 Oct 2015 09:27:43 +0000 (10:27 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Oct 2015 03:23:34 +0000 (04:23 +0100)
commit2bd832459a0827b8dcf13b345380b66f92089d74
tree4394c323d19ae4979a91a73aa780c57d90e09f1c
parentfcd9d046fd8998cc984f2ff80e76f246ebca15b6
NFC: NCI: allow spi driver to choose transfer clock

In some cases low level drivers might want to update the
SPI transfer clock (e.g. during firmware download).

This patch adds this support. Without any modification the
driver will use the default SPI clock (from pdata or device tree).

Signed-off-by: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/nci_core.h
net/nfc/nci/spi.c