]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ALSA: hda/tegra - Set CORBRP self-clear flag
authorThierry Reding <treding@nvidia.com>
Tue, 5 May 2015 12:56:19 +0000 (14:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 May 2015 08:02:55 +0000 (10:02 +0200)
This is set for the MCP variants of the NVIDIA HDA controller, which the
Tegra variant was derived from. This fixes the following warning at boot
time:

[    2.486610] tegra-hda 70030000.hda: CORB reset timeout#1, CORBRP = 0

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_tegra.c

index db0bb50fa5b9672f11deb82951db04182d567296..7003677f7473130eebcdc10937791a6264a45a41 100644 (file)
@@ -460,11 +460,12 @@ MODULE_DEVICE_TABLE(of, hda_tegra_match);
 
 static int hda_tegra_probe(struct platform_device *pdev)
 {
+       const unsigned int driver_flags = AZX_DCAPS_RIRB_DELAY |
+                                         AZX_DCAPS_CORBRP_SELF_CLEAR;
        struct snd_card *card;
        struct azx *chip;
        struct hda_tegra *hda;
        int err;
-       const unsigned int driver_flags = AZX_DCAPS_RIRB_DELAY;
 
        hda = devm_kzalloc(&pdev->dev, sizeof(*hda), GFP_KERNEL);
        if (!hda)