diff mbox series

[v7,12/14] ARM: davinci: remove BUG_ON() from da850_register_sata()

Message ID 1485770531-6772-13-git-send-email-bgolaszewski@baylibre.com
State New
Headers show
Series ARM: da850-lcdk: add SATA support | expand

Commit Message

Bartosz Golaszewski Jan. 30, 2017, 10:02 a.m. UTC
The ahci driver now supports other refclk clock rates.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

---
 arch/arm/mach-davinci/devices-da8xx.c | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.9.3
diff mbox series

Patch

diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c
index cfceb32..7cf529f 100644
--- a/arch/arm/mach-davinci/devices-da8xx.c
+++ b/arch/arm/mach-davinci/devices-da8xx.c
@@ -1080,9 +1080,6 @@  int __init da850_register_sata(unsigned long refclkpn)
 {
 	int ret;
 
-	/* please see comment in drivers/ata/ahci_da850.c */
-	BUG_ON(refclkpn != 100 * 1000 * 1000);
-
 	ret = da850_register_sata_refclk(refclkpn);
 	if (ret)
 		return ret;