projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d561c
)
ALSA: hda/tas2781: Add missed brace and hardware id re-order
author
Baojun Xu
<baojun.xu@ti.com>
Mon, 2 Jun 2025 01:58:09 +0000
(09:58 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 9 Jun 2025 07:50:10 +0000
(09:50 +0200)
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>
Link:
https://patch.msgid.link/20250602015809.20344-1-baojun.xu@ti.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/tas2781_hda_i2c.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/tas2781_hda_i2c.c
b/sound/pci/hda/tas2781_hda_i2c.c
index d91eed9f7804328bf9464db233a31b712f3fa78c..eb2295b490d94e145bffc32b3a9f2327f7dfb57d 100644
(file)
--- 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);