Sfoglia il codice sorgente

NFC: Driver: Added Fall through

To avoid code compilation issues NFC team added break in
eSE cold reset file as temperory fix.

Replacing the break with Fall through.

Change-Id: Ieb6a5f105a71ae0533f746f6c56479c56a68cd2c
PRANAY BHARGAV BHAVARAJU 2 anni fa
parent
commit
f9075847af
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      nfc/ese_cold_reset.c

+ 2 - 2
nfc/ese_cold_reset.c

@@ -284,8 +284,8 @@ int ese_cold_reset_ioctl(struct nfc_dev *nfc_dev, unsigned long arg)
 			/* free buffers and exit with pass */
 			goto err;
 		}
-		/* Temp fix to  avoid compilation issues */
-                break;
+		fallthrough;
+
 	case ESE_COLD_RESET_PROTECT_DIS:
 
 		if (nfc_dev->cold_reset.is_crp_en &&