fsl_mqs.c (a9d273671440c439c4f236123c59dd839c1a0eb7) fsl_mqs.c (dd79841ca66ff509660880237dc286d7f116a766)
1// SPDX-License-Identifier: GPL-2.0
2//
3// ALSA SoC IMX MQS driver
4//
5// Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
6// Copyright 2019 NXP
7
8#include <linux/clk.h>

--- 129 unchanged lines hidden (view full) ---

138 if (mqs_priv->use_gpr)
139 regmap_update_bits(mqs_priv->regmap, IOMUXC_GPR2,
140 IMX6SX_GPR2_MQS_EN_MASK, 0);
141 else
142 regmap_update_bits(mqs_priv->regmap, REG_MQS_CTRL,
143 MQS_EN_MASK, 0);
144}
145
1// SPDX-License-Identifier: GPL-2.0
2//
3// ALSA SoC IMX MQS driver
4//
5// Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
6// Copyright 2019 NXP
7
8#include <linux/clk.h>

--- 129 unchanged lines hidden (view full) ---

138 if (mqs_priv->use_gpr)
139 regmap_update_bits(mqs_priv->regmap, IOMUXC_GPR2,
140 IMX6SX_GPR2_MQS_EN_MASK, 0);
141 else
142 regmap_update_bits(mqs_priv->regmap, REG_MQS_CTRL,
143 MQS_EN_MASK, 0);
144}
145
146const static struct snd_soc_component_driver soc_codec_fsl_mqs = {
146static const struct snd_soc_component_driver soc_codec_fsl_mqs = {
147 .idle_bias_on = 1,
148 .non_legacy_dai_naming = 1,
149};
150
151static const struct snd_soc_dai_ops fsl_mqs_dai_ops = {
152 .startup = fsl_mqs_startup,
153 .shutdown = fsl_mqs_shutdown,
154 .hw_params = fsl_mqs_hw_params,

--- 181 unchanged lines hidden ---
147 .idle_bias_on = 1,
148 .non_legacy_dai_naming = 1,
149};
150
151static const struct snd_soc_dai_ops fsl_mqs_dai_ops = {
152 .startup = fsl_mqs_startup,
153 .shutdown = fsl_mqs_shutdown,
154 .hw_params = fsl_mqs_hw_params,

--- 181 unchanged lines hidden ---