summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt1308-sdw.h
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2022-11-09 12:12:34 +0300
committerMark Brown <broonie@kernel.org>2022-11-10 23:42:21 +0300
commit5efb40b335a70010999311187be4517f5f114009 (patch)
treeae42c03b334bb13c75bc894e4b33a29f64dff7a6 /sound/soc/codecs/rt1308-sdw.h
parentf0c4d9fc9cc9462659728d168387191387e903cc (diff)
downloadlinux-5efb40b335a70010999311187be4517f5f114009.tar.xz
ASoC: rt1308-sdw: get BQ params property and apply them
If the machine driver level sets the BQ params into the device property, the codec driver will get the BQ params and apply them. Signed-off-by: Shuming Fan <shumingf@realtek.com> Reviewed-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com Link: https://lore.kernel.org/r/20221109091234.17180-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt1308-sdw.h')
-rw-r--r--sound/soc/codecs/rt1308-sdw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt1308-sdw.h b/sound/soc/codecs/rt1308-sdw.h
index 62ce27799307..1eaaef9f351b 100644
--- a/sound/soc/codecs/rt1308-sdw.h
+++ b/sound/soc/codecs/rt1308-sdw.h
@@ -166,6 +166,8 @@ struct rt1308_sdw_priv {
int rx_mask;
int slots;
int hw_ver;
+ unsigned char *bq_params;
+ unsigned int bq_params_cnt;
};
struct sdw_stream_data {