From 6caaf51df1fe14282850c0450ece527ae66d2ad3 Mon Sep 17 00:00:00 2001 From: Dipesh Gandhi Date: Mon, 8 Jan 2018 10:42:01 +0530 Subject: [PATCH] ASoC: tegra-alt: change log level DAP's which shared pins with other peripherals need to have entry in dt for dynamic pinmux configuration. All DAP's are not required to be configured dynamically. Thus pinctrl for all dap's are not needed to be defined in device-tree. For these cases state not defined should not be treated as warning. Thus updating log level to dbg. Bug 200377288 Change-Id: I8c222577d4bcdcfb7fde49a6c264c157baae28d1 Signed-off-by: Dipesh Gandhi Reviewed-on: https://git-master.nvidia.com/r/1633690 Reviewed-by: svc-mobile-coverity Reviewed-by: Uday Gupta Reviewed-by: Mohan Kumar D GVS: Gerrit_Virtual_Submit Reviewed-by: Nitin Pai Reviewed-by: mobile promotions Tested-by: mobile promotions --- sound/soc/tegra-alt/tegra210_i2s_alt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/tegra-alt/tegra210_i2s_alt.c b/sound/soc/tegra-alt/tegra210_i2s_alt.c index fe4221c0..ee482f27 100644 --- a/sound/soc/tegra-alt/tegra210_i2s_alt.c +++ b/sound/soc/tegra-alt/tegra210_i2s_alt.c @@ -1,7 +1,7 @@ /* * tegra210_i2s.c - Tegra210 I2S driver * - * Copyright (c) 2014-2017 NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2014-2018 NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -1177,14 +1177,14 @@ static int tegra210_i2s_platform_probe(struct platform_device *pdev) i2s->pin_default_state = pinctrl_lookup_state(i2s->pinctrl, "dap_active"); if (IS_ERR(i2s->pin_default_state)) { - dev_warn(&pdev->dev, "Missing dap-active state\n"); + dev_dbg(&pdev->dev, "Missing dap-active state\n"); goto err_dap; } i2s->pin_idle_state = pinctrl_lookup_state(i2s->pinctrl, "dap_inactive"); if (IS_ERR(i2s->pin_idle_state)) { - dev_warn(&pdev->dev, "Missing dap-inactive state\n"); + dev_dbg(&pdev->dev, "Missing dap-inactive state\n"); goto err_dap; }