Commit ade9b2fb authored by Markus Bollinger's avatar Markus Bollinger Committed by Takashi Iwai

ALSA: pcxhr - change firmware filenames

- compatibility issue : change firmware filenames
  the pcxhr driver version <= 1.0.18a does not work
  with new firmware > 1.0.17. Keep the old firmware files
  and add new firmware files with different names
Signed-off-by: default avatarMarkus Bollinger <bollinger@digigram.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent c0193f39
...@@ -366,18 +366,18 @@ static int pcxhr_dsp_load(struct pcxhr_mgr *mgr, int index, ...@@ -366,18 +366,18 @@ static int pcxhr_dsp_load(struct pcxhr_mgr *mgr, int index,
int pcxhr_setup_firmware(struct pcxhr_mgr *mgr) int pcxhr_setup_firmware(struct pcxhr_mgr *mgr)
{ {
static char *fw_files[][5] = { static char *fw_files[][5] = {
[0] = { "xi_1_882.dat", "xc_1_882.dat", [0] = { "xlxint.dat", "xlxc882hr.dat",
"e321_512.e56", "b321_512.b56", "d321_512.d56" }, "dspe882.e56", "dspb882hr.b56", "dspd882.d56" },
[1] = { "xi_1_882.dat", "xc_882e.dat", [1] = { "xlxint.dat", "xlxc882e.dat",
"e321_512.e56", "b882e.b56", "d321_512.d56" }, "dspe882.e56", "dspb882e.b56", "dspd882.d56" },
[2] = { "xi_1_882.dat", "xc_1222.dat", [2] = { "xlxint.dat", "xlxc1222hr.dat",
"e321_512.e56", "b1222.b56", "d1222.d56" }, "dspe882.e56", "dspb1222hr.b56", "dspd1222.d56" },
[3] = { "xi_1_882.dat", "xc_1222e.dat", [3] = { "xlxint.dat", "xlxc1222e.dat",
"e321_512.e56", "b1222e.b56", "d1222.d56" }, "dspe882.e56", "dspb1222e.b56", "dspd1222.d56" },
[4] = { NULL, "x1_222hr.dat", [4] = { NULL, "xlxc222.dat",
"e924.e56", "b924.b56", "l_1_222.d56" }, "dspe924.e56", "dspb924.b56", "dspd222.d56" },
[5] = { NULL, "x1_924hr.dat", [5] = { NULL, "xlxc924.dat",
"e924.e56", "b924.b56", "l_1_222.d56" }, "dspe924.e56", "dspb924.b56", "dspd222.d56" },
}; };
char path[32]; char path[32];
...@@ -404,25 +404,25 @@ int pcxhr_setup_firmware(struct pcxhr_mgr *mgr) ...@@ -404,25 +404,25 @@ int pcxhr_setup_firmware(struct pcxhr_mgr *mgr)
return 0; return 0;
} }
MODULE_FIRMWARE("pcxhr/xi_1_882.dat"); MODULE_FIRMWARE("pcxhr/xlxint.dat");
MODULE_FIRMWARE("pcxhr/xc_1_882.dat"); MODULE_FIRMWARE("pcxhr/xlxc882hr.dat");
MODULE_FIRMWARE("pcxhr/xc_882e.dat"); MODULE_FIRMWARE("pcxhr/xlxc882e.dat");
MODULE_FIRMWARE("pcxhr/e321_512.e56"); MODULE_FIRMWARE("pcxhr/dspe882.e56");
MODULE_FIRMWARE("pcxhr/b321_512.b56"); MODULE_FIRMWARE("pcxhr/dspb882hr.b56");
MODULE_FIRMWARE("pcxhr/b882e.b56"); MODULE_FIRMWARE("pcxhr/dspb882e.b56");
MODULE_FIRMWARE("pcxhr/d321_512.d56"); MODULE_FIRMWARE("pcxhr/dspd882.d56");
MODULE_FIRMWARE("pcxhr/xc_1222.dat"); MODULE_FIRMWARE("pcxhr/xlxc1222hr.dat");
MODULE_FIRMWARE("pcxhr/xc_1222e.dat"); MODULE_FIRMWARE("pcxhr/xlxc1222e.dat");
MODULE_FIRMWARE("pcxhr/b1222.b56"); MODULE_FIRMWARE("pcxhr/dspb1222hr.b56");
MODULE_FIRMWARE("pcxhr/b1222e.b56"); MODULE_FIRMWARE("pcxhr/dspb1222e.b56");
MODULE_FIRMWARE("pcxhr/d1222.d56"); MODULE_FIRMWARE("pcxhr/dspd1222.d56");
MODULE_FIRMWARE("pcxhr/x1_222hr.dat"); MODULE_FIRMWARE("pcxhr/xlxc222.dat");
MODULE_FIRMWARE("pcxhr/x1_924hr.dat"); MODULE_FIRMWARE("pcxhr/xlxc924.dat");
MODULE_FIRMWARE("pcxhr/e924.e56"); MODULE_FIRMWARE("pcxhr/dspe924.e56");
MODULE_FIRMWARE("pcxhr/b924.b56"); MODULE_FIRMWARE("pcxhr/dspb924.b56");
MODULE_FIRMWARE("pcxhr/l_1_222.d56"); MODULE_FIRMWARE("pcxhr/dspd222.d56");
#else /* old style firmware loading */ #else /* old style firmware loading */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment