From: Fang, Yang A Date: Thu, 30 Oct 2014 10:50:57 +0000 (+0530) Subject: ASoC: Intel: use correct firmware name X-Git-Tag: v3.19-rc1~119^2~20^2~16^3~29 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5794b7ec62d85700d372b07d88eaf71e807f542f;p=karo-tx-linux.git ASoC: Intel: use correct firmware name The firmware name was used worngly, so fix it up Signed-off-by: Fang, Yang A Signed-off-by: Subhransu S. Prusty Signed-off-by: Vinod Koul Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/sst/sst_loader.c b/sound/soc/intel/sst/sst_loader.c index 00f60c1e9fda..b580f96e25e5 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;