NFC: pn533: fix order of initialization
authorMichael Thalmeier <michael.thalmeier@hale.at>
Thu, 21 Apr 2016 14:43:50 +0000 (16:43 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 9 May 2016 21:59:18 +0000 (23:59 +0200)
commitb16931b13c67f06ca74cc8d02797de480dea348b
tree11240279a0355fc5f7e485d84fff85a3927d9357
parent79f09fa79cefdd9df40c9c590cc8dda544ebff26
NFC: pn533: fix order of initialization

Correctly call nfc_set_parent_dev before nfc_register_device.
Otherwise the driver will OOPS when being removed.

Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533/i2c.c
drivers/nfc/pn533/pn533.c
drivers/nfc/pn533/pn533.h
drivers/nfc/pn533/usb.c
This page took 0.028109 seconds and 5 git commands to generate.