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 <dipeshg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1633690
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Uday Gupta <udayg@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Pai <npai@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Dipesh Gandhi
2018-01-08 10:42:01 +05:30
committed by Sameer Pujar
parent 168d0bf316
commit 6caaf51df1

View File

@@ -1,7 +1,7 @@
/* /*
* tegra210_i2s.c - Tegra210 I2S driver * 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 * This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License, * 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, i2s->pin_default_state = pinctrl_lookup_state(i2s->pinctrl,
"dap_active"); "dap_active");
if (IS_ERR(i2s->pin_default_state)) { 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; goto err_dap;
} }
i2s->pin_idle_state = pinctrl_lookup_state(i2s->pinctrl, i2s->pin_idle_state = pinctrl_lookup_state(i2s->pinctrl,
"dap_inactive"); "dap_inactive");
if (IS_ERR(i2s->pin_idle_state)) { 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; goto err_dap;
} }