提交 88871dd2 编写于 作者: T Thierry Reding 提交者: Takashi Iwai

ALSA: hda/tegra - Set CORBRP self-clear flag

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: NThierry Reding <treding@nvidia.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 977e6276
...@@ -460,11 +460,12 @@ MODULE_DEVICE_TABLE(of, hda_tegra_match); ...@@ -460,11 +460,12 @@ MODULE_DEVICE_TABLE(of, hda_tegra_match);
static int hda_tegra_probe(struct platform_device *pdev) 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 snd_card *card;
struct azx *chip; struct azx *chip;
struct hda_tegra *hda; struct hda_tegra *hda;
int err; int err;
const unsigned int driver_flags = AZX_DCAPS_RIRB_DELAY;
hda = devm_kzalloc(&pdev->dev, sizeof(*hda), GFP_KERNEL); hda = devm_kzalloc(&pdev->dev, sizeof(*hda), GFP_KERNEL);
if (!hda) if (!hda)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册