aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/codecs/rt1316-sdw.h
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2022-11-09 17:12:44 +0800
committerMark Brown <broonie@kernel.org>2022-11-10 20:42:22 +0000
commit3c46b589db83db8a445924d0273005631a056aea (patch)
treef82341fe85a3b15d81f05a908b401104930fe946 /sound/soc/codecs/rt1316-sdw.h
parentASoC: rt1308-sdw: get BQ params property and apply them (diff)
downloadwireguard-linux-3c46b589db83db8a445924d0273005631a056aea.tar.xz
wireguard-linux-3c46b589db83db8a445924d0273005631a056aea.zip
ASoC: rt1316-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/20221109091244.17198-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt1316-sdw.h')
-rw-r--r--sound/soc/codecs/rt1316-sdw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt1316-sdw.h b/sound/soc/codecs/rt1316-sdw.h
index cbcdaa8f8cfa..57dbd49993b0 100644
--- a/sound/soc/codecs/rt1316-sdw.h
+++ b/sound/soc/codecs/rt1316-sdw.h
@@ -46,6 +46,8 @@ struct rt1316_sdw_priv {
struct sdw_bus_params params;
bool hw_init;
bool first_hw_init;
+ unsigned char *bq_params;
+ unsigned int bq_params_cnt;
};
struct sdw_stream_data {