]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ahci_sunxi: Use msleep instead of mdelay
authorHans de Goede <hdegoede@redhat.com>
Sun, 23 Feb 2014 11:52:41 +0000 (12:52 +0100)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:19 +0000 (21:17 -0600)
commit3d5b350ac86fa8c235513b44cac44f86596a7e61
treeb4cb9a7e15e48c5d9cac18b706a8b3c72d0aac5d
parent9f2366065a12dad45b8ba62d2db9e2b4fa19599c
ahci_sunxi: Use msleep instead of mdelay

ahci_sunxi_phy_init is called from the probe and resume code paths, and
sleeping is safe in both, so use msleep instead of mdelay.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
(cherry picked from commit d2ec147a76d0e051db19d378cac3ee7721877717)
drivers/ata/ahci_sunxi.c