scsi: hisi_sas: downgrade refclk message
authorJohn Garry <john.garry@huawei.com>
Fri, 20 Jan 2017 12:45:20 +0000 (20:45 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 21 Jan 2017 00:10:42 +0000 (19:10 -0500)
The message to inform that the controller has no refclk
is currently at warning level, which is unnecessary, so
downgrade to debug.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Xiang Chen <chenxiang66@hisilicon.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c

index 22dba0143bdc8a6ab84cacebbf22d0313a8b1d38..eee7ae2c771fb2f0dbbaca8aa67e2929090485ef 100644 (file)
@@ -1453,7 +1453,7 @@ static struct Scsi_Host *hisi_sas_shost_alloc(struct platform_device *pdev,
 
        refclk = devm_clk_get(&pdev->dev, NULL);
        if (IS_ERR(refclk))
-               dev_info(dev, "no ref clk property\n");
+               dev_dbg(dev, "no ref clk property\n");
        else
                hisi_hba->refclk_frequency_mhz = clk_get_rate(refclk) / 1000000;