NFC: nfcmrvl: allow gpio 0 for reset signalling

Allow gpio 0 to be used for reset signalling, and instead use negative
errnos to disable the reset functionality.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Johan Hovold
2017-03-30 12:15:42 +02:00
committed by Samuel Ortiz
parent 0d1ca88bbf
commit e33a3f84f8
2 changed files with 5 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ struct nfcmrvl_platform_data {
*/
/* GPIO that is wired to RESET_N signal */
unsigned int reset_n_io;
int reset_n_io;
/* Tell if transport is muxed in HCI one */
unsigned int hci_muxed;