]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7d4c9619b25c2a85758d74abbc1602920909bc8
tree11240279a0355fc5f7e485d84fff85a3927d9357
parent327cf89dec47687d9ee7390d50bb905771c4d9bf
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