summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-11 18:09:04 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-22 18:41:20 +0000
commitfbbf592002ee46ed14d5bd88f1150c604b34e705 (patch)
treeb4fe275ab768a411c2ca85fa925c40d813d5df19 /sound/soc/codecs/wm8994.h
parentaf9af866020ea341aca32123b3109b6a9408dd8c (diff)
downloadblackbird-op-linux-fbbf592002ee46ed14d5bd88f1150c604b34e705.tar.gz
blackbird-op-linux-fbbf592002ee46ed14d5bd88f1150c604b34e705.zip
ASoC: Support download of WM8958 MBC firmware
Allow userspace to supply an update to the ROM firmware. The firmware request is non-blocking so userspace can load the firmware at its leisure without delaying startup, the driver will begin using the firmware the next time MBC is started after it has been supplied. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r--sound/soc/codecs/wm8994.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h
index 93a6cf1e1308..1aa365b31b08 100644
--- a/sound/soc/codecs/wm8994.h
+++ b/sound/soc/codecs/wm8994.h
@@ -10,6 +10,7 @@
#define _WM8994_H
#include <sound/soc.h>
+#include <linux/firmware.h>
#include "wm_hubs.h"
@@ -114,6 +115,9 @@ struct wm8994_priv {
unsigned int aif1clk_disable:1;
unsigned int aif2clk_disable:1;
+
+ const struct firmware *cur_fw;
+ const struct firmware *mbc;
};
#endif
OpenPOWER on IntegriCloud