summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/da7219-aad.h
diff options
context:
space:
mode:
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>2020-08-11 17:57:23 +0100
committerMark Brown <broonie@kernel.org>2020-08-17 18:48:43 +0100
commit21f279f34c212e82f0330697394840898908f7a6 (patch)
tree11d1fee467a9a769cbfab94fd9e2cd8123973ff5 /sound/soc/codecs/da7219-aad.h
parent549ade5721fe197b78165fc3476af1fe0c65f089 (diff)
downloadlwn-21f279f34c212e82f0330697394840898908f7a6.tar.gz
lwn-21f279f34c212e82f0330697394840898908f7a6.zip
ASoC: da7219: Move required devm_* allocations to device level code
In preparation for cleanup of device level and codec level probe funcitonality, all necessary devm_* allocations and fw retrieval functions are moved to the I2C probe level code. Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Link: https://lore.kernel.org/r/7a9a2ead6e37820a6025c0a62dc45952d5032ab7.1597164865.git.Adam.Thomson.Opensource@diasemi.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/da7219-aad.h')
-rw-r--r--sound/soc/codecs/da7219-aad.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/da7219-aad.h b/sound/soc/codecs/da7219-aad.h
index cfa46fba2390..f48a12012ef3 100644
--- a/sound/soc/codecs/da7219-aad.h
+++ b/sound/soc/codecs/da7219-aad.h
@@ -212,4 +212,7 @@ void da7219_aad_resume(struct snd_soc_component *component);
int da7219_aad_init(struct snd_soc_component *component);
void da7219_aad_exit(struct snd_soc_component *component);
+/* I2C Probe */
+int da7219_aad_probe(struct i2c_client *i2c);
+
#endif /* __DA7219_AAD_H */