diff options
author | Mark Greer <mgreer@animalcreek.com> | 2017-04-26 00:43:50 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-06-18 23:57:57 +0200 |
commit | 69f984f037a869477cac654a834e8b5435bb35b6 (patch) | |
tree | 724f814975a1bf6815fc9a757661ca7bf98a3a7a /drivers/nfc/trf7970a.c | |
parent | NFC: trf7970a: Don't de-assert EN2 unless it was asserted (diff) | |
download | linux-69f984f037a869477cac654a834e8b5435bb35b6.tar.xz linux-69f984f037a869477cac654a834e8b5435bb35b6.zip |
NFC: trf7970a: Fix inaccurate comment in trf7970a_probe()
As of commit ce69b95ca4e4 ("NFC: Make EN2 pin optional in the
TRF7970A driver"), only the GPIO for the 'EN' enable pin needs
to be specified in the device tree so update the comments that
says both 'EN' and 'EN2' must be specified.
Signed-off-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/nfc/trf7970a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c index 1a87525a88cd..5d5a8b0e57d4 100644 --- a/drivers/nfc/trf7970a.c +++ b/drivers/nfc/trf7970a.c @@ -2046,7 +2046,7 @@ static int trf7970a_probe(struct spi_device *spi) if (of_property_read_bool(np, "irq-status-read-quirk")) trf->quirks |= TRF7970A_QUIRK_IRQ_STATUS_READ; - /* There are two enable pins - both must be present */ + /* There are two enable pins - only EN must be present in the DT */ trf->en_gpio = of_get_named_gpio(np, "ti,enable-gpios", 0); if (!gpio_is_valid(trf->en_gpio)) { dev_err(trf->dev, "No EN GPIO property\n"); |