提交 5794b7ec 编写于 作者: F Fang, Yang A 提交者: Mark Brown

ASoC: Intel: use correct firmware name

The firmware name was used worngly, so fix it up
Signed-off-by: NFang, Yang A <yang.a.fang@intel.com>
Signed-off-by: NSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 6e9b0560
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册