aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2021-01-14 19:43:25 -0800
committerMark Brown <[email protected]>2021-01-15 14:14:41 +0000
commit03b49bf9a92b18bbfcc3b5eb206cca8447e9f2cb (patch)
treed02b12797a34e52b9500939f0c0fbc0d7da45d03
parent16117beb16f01a470d40339960ffae1e287c03be (diff)
ASoC: qcom: Add some names to regmap configs
This device can sometimes have multiple regmaps. Let's add a name so that we can differentiate in debugfs more easily. Cc: V Sujith Kumar Reddy <[email protected]> Cc: Srinivasa Rao <[email protected]> Cc: Srinivas Kandagatla <[email protected]> Cc: Cheng-Yi Chiang <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/qcom/lpass-cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/qcom/lpass-cpu.c b/sound/soc/qcom/lpass-cpu.c
index 8437ba31a306..40126202a4a3 100644
--- a/sound/soc/qcom/lpass-cpu.c
+++ b/sound/soc/qcom/lpass-cpu.c
@@ -474,6 +474,7 @@ static bool lpass_cpu_regmap_volatile(struct device *dev, unsigned int reg)
}
static struct regmap_config lpass_cpu_regmap_config = {
+ .name = "lpass_cpu",
.reg_bits = 32,
.reg_stride = 4,
.val_bits = 32,
@@ -674,6 +675,7 @@ static bool lpass_hdmi_regmap_volatile(struct device *dev, unsigned int reg)
}
static struct regmap_config lpass_hdmi_regmap_config = {
+ .name = "lpass_hdmi",
.reg_bits = 32,
.reg_stride = 4,
.val_bits = 32,