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>
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;