projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82a5a93
)
ASoC: sst_platform: initialize module_name properly
author
Lu Guanqun
<guanqun.lu@intel.com>
Wed, 6 Apr 2011 02:20:26 +0000
(10:20 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 6 Apr 2011 14:15:23 +0000
(23:15 +0900)
module_name will be checked in register_sst_card.
It will fail to register sst card if it's not initialized.
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/mid-x86/sst_platform.c
patch
|
blob
|
history
diff --git
a/sound/soc/mid-x86/sst_platform.c
b/sound/soc/mid-x86/sst_platform.c
index ee2c22475a76bb54de3faa10f3369fb7af192f87..bd9d928dc767f1c3c5b93342f62cffa370bb44e1 100644
(file)
--- a/
sound/soc/mid-x86/sst_platform.c
+++ b/
sound/soc/mid-x86/sst_platform.c
@@
-247,6
+247,7
@@
static int sst_platform_open(struct snd_pcm_substream *substream)
return -ENOMEM;
}
stream->sstdrv_ops->vendor_id = MSIC_VENDOR_ID;
+ stream->sstdrv_ops->module_name = SST_CARD_NAMES;
/* registering with SST driver to get access to SST APIs to use */
ret_val = register_sst_card(stream->sstdrv_ops);
if (ret_val) {