imx-audmix.c (34069d12e239ae8f36dd96c378e4622fb1c42a76) | imx-audmix.c (b19a5733de255cabba5feecabf6e900638b582d1) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright 2017 NXP 4 * 5 * The code contained herein is licensed under the GNU General Public 6 * License. You may obtain a copy of the GNU General Public License 7 * Version 2 or later at the following locations: 8 * --- 301 unchanged lines hidden (view full) --- 310 return -EINVAL; 311 } 312 put_device(&cpu_pdev->dev); 313 314 priv->cpu_mclk = devm_clk_get(&cpu_pdev->dev, "mclk1"); 315 if (IS_ERR(priv->cpu_mclk)) { 316 ret = PTR_ERR(priv->cpu_mclk); 317 dev_err(&cpu_pdev->dev, "failed to get DAI mclk1: %d\n", ret); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright 2017 NXP 4 * 5 * The code contained herein is licensed under the GNU General Public 6 * License. You may obtain a copy of the GNU General Public License 7 * Version 2 or later at the following locations: 8 * --- 301 unchanged lines hidden (view full) --- 310 return -EINVAL; 311 } 312 put_device(&cpu_pdev->dev); 313 314 priv->cpu_mclk = devm_clk_get(&cpu_pdev->dev, "mclk1"); 315 if (IS_ERR(priv->cpu_mclk)) { 316 ret = PTR_ERR(priv->cpu_mclk); 317 dev_err(&cpu_pdev->dev, "failed to get DAI mclk1: %d\n", ret); |
318 return -EINVAL; | 318 return ret; |
319 } 320 321 priv->audmix_pdev = audmix_pdev; 322 priv->out_pdev = cpu_pdev; 323 324 priv->card.dai_link = priv->dai; 325 priv->card.num_links = priv->num_dai; 326 priv->card.codec_conf = priv->dai_conf; --- 32 unchanged lines hidden --- | 319 } 320 321 priv->audmix_pdev = audmix_pdev; 322 priv->out_pdev = cpu_pdev; 323 324 priv->card.dai_link = priv->dai; 325 priv->card.num_links = priv->num_dai; 326 priv->card.codec_conf = priv->dai_conf; --- 32 unchanged lines hidden --- |