diff --git a/sound/soc/tegra-alt/tegra186_arad_alt.c b/sound/soc/tegra-alt/tegra186_arad_alt.c index 78a7ed7d..5a9ca9e7 100644 --- a/sound/soc/tegra-alt/tegra186_arad_alt.c +++ b/sound/soc/tegra-alt/tegra186_arad_alt.c @@ -1,7 +1,7 @@ /* * tegra186_arad_alt.c - Tegra186 ARAD driver * - * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2015-2017, 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, @@ -88,8 +88,6 @@ static int tegra186_arad_runtime_suspend(struct device *dev) regcache_cache_only(arad->regmap, true); regcache_mark_dirty(arad->regmap); - pm_runtime_put_sync(dev->parent); - return 0; } @@ -97,13 +95,6 @@ static int tegra186_arad_runtime_suspend(struct device *dev) static int tegra186_arad_runtime_resume(struct device *dev) { struct tegra186_arad *arad = dev_get_drvdata(dev); - int ret; - - ret = pm_runtime_get_sync(dev->parent); - if (ret < 0) { - dev_err(dev, "parent get_sync failed: %d\n", ret); - return ret; - } regcache_cache_only(arad->regmap, false); regcache_sync(arad->regmap); diff --git a/sound/soc/tegra-alt/tegra186_asrc_alt.c b/sound/soc/tegra-alt/tegra186_asrc_alt.c index 18411ef9..dad8016f 100644 --- a/sound/soc/tegra-alt/tegra186_asrc_alt.c +++ b/sound/soc/tegra-alt/tegra186_asrc_alt.c @@ -167,20 +167,13 @@ static int tegra186_asrc_runtime_suspend(struct device *dev) regcache_cache_only(asrc->regmap, true); regcache_mark_dirty(asrc->regmap); - pm_runtime_put_sync(dev->parent); - return 0; } static int tegra186_asrc_runtime_resume(struct device *dev) { struct tegra186_asrc *asrc = dev_get_drvdata(dev); - int ret, lane_id; - ret = pm_runtime_get_sync(dev->parent); - if (ret < 0) { - dev_err(dev, "parent get_sync failed: %d\n", ret); - return ret; - } + int lane_id; regcache_cache_only(asrc->regmap, false); diff --git a/sound/soc/tegra-alt/tegra186_dspk_alt.c b/sound/soc/tegra-alt/tegra186_dspk_alt.c index 5da9cc2a..7a074cc0 100644 --- a/sound/soc/tegra-alt/tegra186_dspk_alt.c +++ b/sound/soc/tegra-alt/tegra186_dspk_alt.c @@ -107,7 +107,6 @@ static int tegra186_dspk_runtime_suspend(struct device *dev) clk_disable_unprepare(dspk->clk_dspk); } - pm_runtime_put_sync(dev->parent); return 0; } @@ -116,12 +115,6 @@ static int tegra186_dspk_runtime_resume(struct device *dev) struct tegra186_dspk *dspk = dev_get_drvdata(dev); int ret; - ret = pm_runtime_get_sync(dev->parent); - if (ret < 0) { - dev_err(dev, "parent get_sync failed: %d\n", ret); - return ret; - } - if (!(tegra_platform_is_unit_fpga() || tegra_platform_is_fpga())) { if (!IS_ERR(dspk->pin_active_state) && dspk->is_pinctrl) { ret = pinctrl_select_state(dspk->pinctrl,