Skip to content

Commit baee26a

Browse files
TE-N-ShengjiuWangbroonie
authored andcommitted
ASoC: fsl_mqs: rename system manager indices for i.MX95
The system manager indices names are different for each platform, rename the indices for i.MX95 to differentiate with other platform. Signed-off-by: Shengjiu Wang <[email protected]> Reviewed-by: Peng Fan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 9931d28 commit baee26a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

include/linux/firmware/imx/sm.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
#include <linux/scmi_imx_protocol.h>
1212
#include <linux/types.h>
1313

14-
#define SCMI_IMX_CTRL_PDM_CLK_SEL 0 /* AON PDM clock sel */
15-
#define SCMI_IMX_CTRL_MQS1_SETTINGS 1 /* AON MQS settings */
16-
#define SCMI_IMX_CTRL_SAI1_MCLK 2 /* AON SAI1 MCLK */
17-
#define SCMI_IMX_CTRL_SAI3_MCLK 3 /* WAKE SAI3 MCLK */
18-
#define SCMI_IMX_CTRL_SAI4_MCLK 4 /* WAKE SAI4 MCLK */
19-
#define SCMI_IMX_CTRL_SAI5_MCLK 5 /* WAKE SAI5 MCLK */
14+
#define SCMI_IMX95_CTRL_PDM_CLK_SEL 0 /* AON PDM clock sel */
15+
#define SCMI_IMX95_CTRL_MQS1_SETTINGS 1 /* AON MQS settings */
16+
#define SCMI_IMX95_CTRL_SAI1_MCLK 2 /* AON SAI1 MCLK */
17+
#define SCMI_IMX95_CTRL_SAI3_MCLK 3 /* WAKE SAI3 MCLK */
18+
#define SCMI_IMX95_CTRL_SAI4_MCLK 4 /* WAKE SAI4 MCLK */
19+
#define SCMI_IMX95_CTRL_SAI5_MCLK 5 /* WAKE SAI5 MCLK */
2020

2121
#define SCMI_IMX94_CTRL_PDM_CLK_SEL 0U /*!< AON PDM clock sel */
2222
#define SCMI_IMX94_CTRL_MQS1_SETTINGS 1U /*!< AON MQS settings */

sound/soc/fsl/fsl_mqs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ static const struct fsl_mqs_soc_data fsl_mqs_imx93_data = {
388388

389389
static const struct fsl_mqs_soc_data fsl_mqs_imx95_aon_data = {
390390
.type = TYPE_REG_SM,
391-
.sm_index = SCMI_IMX_CTRL_MQS1_SETTINGS,
391+
.sm_index = SCMI_IMX95_CTRL_MQS1_SETTINGS,
392392
.ctrl_off = 0x88,
393393
.en_mask = BIT(1),
394394
.en_shift = 1,

0 commit comments

Comments
 (0)