Commit 7ec27c9e authored by Bongsu Jeon's avatar Bongsu Jeon Committed by Jakub Kicinski
Browse files

nfc: s3fwrn5: Remove the delay for NFC sleep



Remove the delay for NFC sleep because the delay is only needed to
guarantee that the NFC is awake.

Signed-off-by: default avatarBongsu Jeon <bongsu.jeon@samsung.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 767143a1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ void s3fwrn5_phy_set_wake(void *phy_id, bool wake)

	mutex_lock(&phy->mutex);
	gpio_set_value(phy->gpio_fw_wake, wake);
	if (wake)
		msleep(S3FWRN5_EN_WAIT_TIME);
	mutex_unlock(&phy->mutex);
}