asoc: codecs: bolero: do not limit boost levels
Boost level max setting can be left to default
and not needed to be limited to any value.
Change-Id: Iab5073cedd6e69bb4311af9af54ff409d8bfd24c
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
diff --git a/asoc/codecs/bolero/wsa-macro.c b/asoc/codecs/bolero/wsa-macro.c
index e26b4cb..f41392d 100644
--- a/asoc/codecs/bolero/wsa-macro.c
+++ b/asoc/codecs/bolero/wsa-macro.c
@@ -1946,9 +1946,7 @@
dev_dbg(component->dev, "%s: ucontrol->value.integer.value[0] = %ld\n",
__func__, ucontrol->value.integer.value[0]);
bst_state_max = ucontrol->value.integer.value[0] << 2;
- snd_soc_component_update_bits(component,
- BOLERO_CDC_WSA_BOOST0_BOOST_CTL,
- 0x0c, bst_state_max);
+ /* bolero does not need to limit the boost levels */
return 0;
}
@@ -1980,9 +1978,7 @@
dev_dbg(component->dev, "%s: ucontrol->value.integer.value[0] = %ld\n",
__func__, ucontrol->value.integer.value[0]);
bst_state_max = ucontrol->value.integer.value[0] << 2;
- snd_soc_component_update_bits(component,
- BOLERO_CDC_WSA_BOOST1_BOOST_CTL,
- 0x0c, bst_state_max);
+ /* bolero does not need to limit the boost levels */
return 0;
}