From f9075847af91b78d50df553fb65a4fa4409567fa Mon Sep 17 00:00:00 2001 From: PRANAY BHARGAV BHAVARAJU Date: Sat, 17 Dec 2022 16:24:27 +0530 Subject: [PATCH] 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 --- nfc/ese_cold_reset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nfc/ese_cold_reset.c b/nfc/ese_cold_reset.c index a0dcdff479..0b8854316e 100644 --- a/nfc/ese_cold_reset.c +++ b/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 &&