diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-11 13:09:04 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-22 14:41:20 -0400 |
commit | fbbf592002ee46ed14d5bd88f1150c604b34e705 (patch) | |
tree | b4fe275ab768a411c2ca85fa925c40d813d5df19 /sound/soc/codecs/wm8994.h | |
parent | af9af866020ea341aca32123b3109b6a9408dd8c (diff) |
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.h | 4 |
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 @@ | |||
10 | #define _WM8994_H | 10 | #define _WM8994_H |
11 | 11 | ||
12 | #include <sound/soc.h> | 12 | #include <sound/soc.h> |
13 | #include <linux/firmware.h> | ||
13 | 14 | ||
14 | #include "wm_hubs.h" | 15 | #include "wm_hubs.h" |
15 | 16 | ||
@@ -114,6 +115,9 @@ struct wm8994_priv { | |||
114 | 115 | ||
115 | unsigned int aif1clk_disable:1; | 116 | unsigned int aif1clk_disable:1; |
116 | unsigned int aif2clk_disable:1; | 117 | unsigned int aif2clk_disable:1; |
118 | |||
119 | const struct firmware *cur_fw; | ||
120 | const struct firmware *mbc; | ||
117 | }; | 121 | }; |
118 | 122 | ||
119 | #endif | 123 | #endif |