aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLu Guanqun <guanqun.lu@intel.com>2011-04-05 22:20:26 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-04-06 10:15:23 -0400
commit0d1d7ce95156e0b040f1a4029613716aafd791b1 (patch)
treed01f2fc4bfc7e529b3d268e1940c0f7b417dedf5
parent82a5a936f6dea13849d93a2899a9b7294a8db336 (diff)
ASoC: sst_platform: initialize module_name properly
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>
-rw-r--r--sound/soc/mid-x86/sst_platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/mid-x86/sst_platform.c b/sound/soc/mid-x86/sst_platform.c
index ee2c22475a76..bd9d928dc767 100644
--- 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)
247 return -ENOMEM; 247 return -ENOMEM;
248 } 248 }
249 stream->sstdrv_ops->vendor_id = MSIC_VENDOR_ID; 249 stream->sstdrv_ops->vendor_id = MSIC_VENDOR_ID;
250 stream->sstdrv_ops->module_name = SST_CARD_NAMES;
250 /* registering with SST driver to get access to SST APIs to use */ 251 /* registering with SST driver to get access to SST APIs to use */
251 ret_val = register_sst_card(stream->sstdrv_ops); 252 ret_val = register_sst_card(stream->sstdrv_ops);
252 if (ret_val) { 253 if (ret_val) {