]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: nci: Do not call post_setup when setup fails
authorRobert Dolca <robert.dolca@intel.com>
Thu, 22 Oct 2015 09:11:36 +0000 (12:11 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 25 Oct 2015 18:11:58 +0000 (19:11 +0100)
commitc7233cb3e873e9fc2e530569204912a432f9af02
tree638fe2a2cdf4b5fd9c6be0a2a85940a323e08ea0
parent083ab9313b4fc6099a31e9d8d4773ae93788474f
NFC: nci: Do not call post_setup when setup fails

The driver should know that it can continue with post setup where
setup left off. Being able to execute post_setup when setup fails
may force the developer to keep this state in the driver.

Signed-off-by: Robert Dolca <robert.dolca@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/nci/core.c