NFC: NCI: Use reinit_completion() at appropriate places
authorAxel Lin <axel.lin@ingics.com>
Thu, 13 Feb 2014 05:25:48 +0000 (13:25 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 23 Feb 2014 22:32:18 +0000 (23:32 +0100)
commit9bec44bf0bcd623b5ea48ae1ce44205260ad4b77
tree0fe89e0fd0243370d05e023453a5a30eab0f335d
parent6ea7398d00345a33b47d905875416ca4421838de
NFC: NCI: Use reinit_completion() at appropriate places

Calling init_completion() once is enough.
Then use reinit_completion() instead in __nci_request() and nci_spi_send().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/nci/core.c
net/nfc/nci/spi.c