summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/nfcmrvl/usb.c
diff options
context:
space:
mode:
authorVincent Cuissard <cuissard@marvell.com>2015-10-26 10:27:40 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-10-27 04:19:44 +0100
commit58d34aa677ec248539262c54a618d61804a893f1 (patch)
tree28445e1e86c73b08ba0990dcd6be335d55ab43d9 /drivers/nfc/nfcmrvl/usb.c
parent3194c6870158e305dac2af52f83681e9cb67280f (diff)
downloadlinux-stable-58d34aa677ec248539262c54a618d61804a893f1.tar.gz
linux-stable-58d34aa677ec248539262c54a618d61804a893f1.tar.bz2
linux-stable-58d34aa677ec248539262c54a618d61804a893f1.zip
NFC: nfcmrvl: configure head/tail room values per low level drivers
Low-level drivers may need to add some data before and/or after NCI packet. Signed-off-by: Vincent Cuissard <cuissard@marvell.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/nfcmrvl/usb.c')
-rw-r--r--drivers/nfc/nfcmrvl/usb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/nfc/nfcmrvl/usb.c b/drivers/nfc/nfcmrvl/usb.c
index b27617434427..585a0f20835b 100644
--- a/drivers/nfc/nfcmrvl/usb.c
+++ b/drivers/nfc/nfcmrvl/usb.c
@@ -340,13 +340,12 @@ static int nfcmrvl_probe(struct usb_interface *intf,
init_usb_anchor(&drv_data->bulk_anchor);
init_usb_anchor(&drv_data->deferred);
- priv = nfcmrvl_nci_register_dev(drv_data, &usb_ops,
+ priv = nfcmrvl_nci_register_dev(NFCMRVL_PHY_USB, drv_data, &usb_ops,
&drv_data->udev->dev, &config);
if (IS_ERR(priv))
return PTR_ERR(priv);
drv_data->priv = priv;
- drv_data->priv->phy = NFCMRVL_PHY_USB;
drv_data->priv->support_fw_dnld = false;
priv->dev = &drv_data->udev->dev;