asoc: codec: es755: fix dt parse error
Dara Ramesh [Mon, 6 Jul 2015 03:15:36 +0000 (08:15 +0530)]
bug 200089065

Change-Id: Iede62858b1a8a722f364e90abde4d41449d06609
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/766469
(cherry picked from commit a7ca26813c43a2b1ab3fad8d0747d3b0c375b60a)
Reviewed-on: http://git-master/r/767429
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>

sound/soc/codecs/audience/es755.c

index 4e34340..f52fbd5 100644 (file)
@@ -1847,7 +1847,7 @@ static struct esxxx_platform_data *es755_populate_dt_pdata(struct device *dev)
        pdata->uart_gpio = of_get_named_gpio(dev->of_node,
                        "adnc,int-gpio", 0);
        if (pdata->uart_gpio < 0) {
-               dev_err(dev, "Looking up %s property in node %s failed %d\n",
+               dev_dbg(dev, "Looking up %s property in node %s failed %d\n",
                                "adnc,uart-gpio", dev->of_node->full_name,
                                pdata->uart_gpio);
                pdata->uart_gpio = -1;
@@ -2013,7 +2013,7 @@ pdata->gpiob_gpio = of_get_named_gpio(dev->of_node,
        codec_clk = clk_get(dev, "es755-mclk");
 #endif
        if (IS_ERR(codec_clk)) {
-               dev_err(dev, "%s: Failed to request es755 mclk from pmic %ld\n",
+               dev_dbg(dev, "%s: Failed to request es755 mclk from pmic %ld\n",
                                __func__, PTR_ERR(codec_clk));
                pdata->esxxx_clk_cb = NULL;
        } else {
@@ -2638,7 +2638,7 @@ int es755_core_probe(struct device *dev)
                /* Fix value for IRQ Type */
                pdata->gpio_a_irq_type = ES_FALLING_EDGE;
        } else {
-               dev_warn(escore_priv.dev, "%s(): es755_gpioa undefined\n",
+               dev_dbg(escore_priv.dev, "%s(): es755_gpioa undefined\n",
                         __func__);
        }