NFC: trf7970a: trf7970a_init() turns off the RF transmitter
[firefly-linux-kernel-4.4.55.git] / drivers / nfc / trf7970a.c
index 429146b7e6d8aa7817418ab7a836203cb4e4c67d..ab6e276be6a6535a6de877c0a72e2847cd3d56ee 100644 (file)
@@ -826,6 +826,8 @@ static int trf7970a_init(struct trf7970a *trf)
 
        usleep_range(1000, 2000);
 
+       trf->chip_status_ctrl &= ~TRF7970A_CHIP_STATUS_RF_ON;
+
        ret = trf7970a_write(trf, TRF7970A_MODULATOR_SYS_CLK_CTRL, 0);
        if (ret)
                goto err_out;