OSDN Git Service

NFC: trf7970a: Don't de-assert EN2 unless it was asserted
authorMark Greer <mgreer@animalcreek.com>
Tue, 25 Apr 2017 22:43:49 +0000 (15:43 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 18 Jun 2017 21:57:57 +0000 (23:57 +0200)
commit67dec1928d08b6ca7dc9bebc4d3fe2d54da4b108
tree1e2f6d992fe505cb9f5855c28f2b3a8166a90084
parent581132b6aecf90581fa277820d33054960e91163
NFC: trf7970a: Don't de-assert EN2 unless it was asserted

When the trf7970a part has the bug related to 'en2-rf-quirk',
the GPIO connected to the EN2 pin will not be asserted by the
driver when powering up so it shouldn't be de-asserted when
powering down.

Signed-off-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c