ARM: davinci: remove BUG_ON() from da850_register_sata()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 30 Jan 2017 10:02:09 +0000 (11:02 +0100)
committerSekhar Nori <nsekhar@ti.com>
Tue, 31 Jan 2017 15:18:25 +0000 (20:48 +0530)
The ahci driver now supports other refclk clock rates.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/devices-da8xx.c

index cfceb326a39ba9f76a3b22eb4011ce126e962a6c..7cf529ffbe5a2ad490ad68e84bd717b13f38ca04 100644 (file)
@@ -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;