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: Bongsu Jeon <bongsu.jeon@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
767143a18d
commit
7ec27c9e97
|
@ -20,6 +20,7 @@ void s3fwrn5_phy_set_wake(void *phy_id, bool wake)
|
||||||
|
|
||||||
mutex_lock(&phy->mutex);
|
mutex_lock(&phy->mutex);
|
||||||
gpio_set_value(phy->gpio_fw_wake, wake);
|
gpio_set_value(phy->gpio_fw_wake, wake);
|
||||||
|
if (wake)
|
||||||
msleep(S3FWRN5_EN_WAIT_TIME);
|
msleep(S3FWRN5_EN_WAIT_TIME);
|
||||||
mutex_unlock(&phy->mutex);
|
mutex_unlock(&phy->mutex);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue