summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/sst
diff options
context:
space:
mode:
authorFang, Yang A <yang.a.fang@intel.com>2014-10-30 16:20:57 +0530
committerMark Brown <broonie@kernel.org>2014-10-31 12:51:14 +0000
commit5794b7ec62d85700d372b07d88eaf71e807f542f (patch)
treef7b02fbeca9fbc7602b98a07ebd1e7b89a30ea9d /sound/soc/intel/sst
parent6e9b05607fe896627ab7c15efff01b6dcae71a56 (diff)
ASoC: Intel: use correct firmware name
The firmware name was used worngly, so fix it up Signed-off-by: Fang, Yang A <yang.a.fang@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/sst')
-rw-r--r--sound/soc/intel/sst/sst_loader.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/soc/intel/sst/sst_loader.c b/sound/soc/intel/sst/sst_loader.c
index 00f60c1e9fd..b580f96e25e 100644
--- a/sound/soc/intel/sst/sst_loader.c
+++ b/sound/soc/intel/sst/sst_loader.c
@@ -344,12 +344,9 @@ void sst_firmware_load_cb(const struct firmware *fw, void *context)
static int sst_request_fw(struct intel_sst_drv *sst)
{
int retval = 0;
- char name[20];
const struct firmware *fw;
- dev_dbg(sst->dev, "Requesting FW %s now...\n", name);
-
- retval = request_firmware(&fw, name, sst->dev);
+ retval = request_firmware(&fw, sst->firmware_name, sst->dev);
if (fw == NULL) {
dev_err(sst->dev, "fw is returning as null\n");
return -EINVAL;