* [PATCH v1] ALSA: hda/tas2781: Add missed brace and hardware id re-order
@ 2025-06-02 1:58 Baojun Xu
2025-06-09 7:50 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Baojun Xu @ 2025-06-02 1:58 UTC (permalink / raw)
To: tiwai
Cc: broonie, andriy.shevchenko, alsa-devel, shenghao-ding, navada,
13916275206, v-hampiholi, v-po, linux-sound, linux-kernel,
baojun.xu
This patch is do code clean and prepare for next patch,
which is relative with hardware id.
Signed-off-by: Baojun Xu <baojun.xu@ti.com>
---
sound/pci/hda/tas2781_hda_i2c.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sound/pci/hda/tas2781_hda_i2c.c b/sound/pci/hda/tas2781_hda_i2c.c
index d91eed9f7..eb2295b49 100644
--- a/sound/pci/hda/tas2781_hda_i2c.c
+++ b/sound/pci/hda/tas2781_hda_i2c.c
@@ -591,8 +591,9 @@ static int tas2781_hda_i2c_probe(struct i2c_client *clt)
device_name = "INT8866";
hda_priv->save_calibration = tas2563_save_calibration;
tas_hda->priv->global_addr = TAS2563_GLOBAL_ADDR;
- } else
+ } else {
return -ENODEV;
+ }
tas_hda->priv->irq = clt->irq;
ret = tas2781_read_acpi(tas_hda->priv, device_name);
@@ -722,8 +723,8 @@ static const struct i2c_device_id tas2781_hda_i2c_id[] = {
};
static const struct acpi_device_id tas2781_acpi_hda_match[] = {
- {"TIAS2781", 0 },
{"INT8866", 0 },
+ {"TIAS2781", 0 },
{}
};
MODULE_DEVICE_TABLE(acpi, tas2781_acpi_hda_match);
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v1] ALSA: hda/tas2781: Add missed brace and hardware id re-order
@ 2025-06-06 3:23 Baojun Xu
0 siblings, 0 replies; 3+ messages in thread
From: Baojun Xu @ 2025-06-06 3:23 UTC (permalink / raw)
To: tiwai
Cc: broonie, andriy.shevchenko, alsa-devel, shenghao-ding, navada,
13916275206, v-hampiholi, v-po, linux-sound, linux-kernel,
baojun.xu
This patch was used to do code clean and prepare for next patch,
which is relative with hardware id.
Signed-off-by: Baojun Xu <baojun.xu@ti.com>
---
sound/pci/hda/tas2781_hda_i2c.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sound/pci/hda/tas2781_hda_i2c.c b/sound/pci/hda/tas2781_hda_i2c.c
index d91eed9f7..eb2295b49 100644
--- a/sound/pci/hda/tas2781_hda_i2c.c
+++ b/sound/pci/hda/tas2781_hda_i2c.c
@@ -591,8 +591,9 @@ static int tas2781_hda_i2c_probe(struct i2c_client *clt)
device_name = "INT8866";
hda_priv->save_calibration = tas2563_save_calibration;
tas_hda->priv->global_addr = TAS2563_GLOBAL_ADDR;
- } else
+ } else {
return -ENODEV;
+ }
tas_hda->priv->irq = clt->irq;
ret = tas2781_read_acpi(tas_hda->priv, device_name);
@@ -722,8 +723,8 @@ static const struct i2c_device_id tas2781_hda_i2c_id[] = {
};
static const struct acpi_device_id tas2781_acpi_hda_match[] = {
- {"TIAS2781", 0 },
{"INT8866", 0 },
+ {"TIAS2781", 0 },
{}
};
MODULE_DEVICE_TABLE(acpi, tas2781_acpi_hda_match);
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1] ALSA: hda/tas2781: Add missed brace and hardware id re-order
2025-06-02 1:58 [PATCH v1] ALSA: hda/tas2781: Add missed brace and hardware id re-order Baojun Xu
@ 2025-06-09 7:50 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2025-06-09 7:50 UTC (permalink / raw)
To: Baojun Xu
Cc: broonie, andriy.shevchenko, alsa-devel, shenghao-ding, navada,
13916275206, v-hampiholi, v-po, linux-sound, linux-kernel
On Mon, 02 Jun 2025 03:58:09 +0200,
Baojun Xu wrote:
>
> This patch is do code clean and prepare for next patch,
> which is relative with hardware id.
>
> Signed-off-by: Baojun Xu <baojun.xu@ti.com>
Merged to for-next branch now. Thanks.
Takashi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-09 7:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-02 1:58 [PATCH v1] ALSA: hda/tas2781: Add missed brace and hardware id re-order Baojun Xu
2025-06-09 7:50 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2025-06-06 3:23 Baojun Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox