|
@@ -49,7 +49,7 @@ struct cht_acpi_card {
|
|
|
struct cht_mc_private {
|
|
|
struct snd_soc_jack jack;
|
|
|
struct cht_acpi_card *acpi_card;
|
|
|
- char codec_name[16];
|
|
|
+ char codec_name[SND_ACPI_I2C_ID_LEN];
|
|
|
struct clk *mclk;
|
|
|
};
|
|
|
|
|
@@ -499,7 +499,7 @@ static struct cht_acpi_card snd_soc_cards[] = {
|
|
|
{"10EC5650", CODEC_TYPE_RT5650, &snd_soc_card_chtrt5650},
|
|
|
};
|
|
|
|
|
|
-static char cht_rt5645_codec_name[16]; /* i2c-<HID>:00 with HID being 8 chars */
|
|
|
+static char cht_rt5645_codec_name[SND_ACPI_I2C_ID_LEN];
|
|
|
static char cht_rt5645_codec_aif_name[12]; /* = "rt5645-aif[1|2]" */
|
|
|
static char cht_rt5645_cpu_dai_name[10]; /* = "ssp[0|2]-port" */
|
|
|
|