1. 程式人生 > >ALSA 聲卡 驅動 linux 4.1.36 中變化

ALSA 聲卡 驅動 linux 4.1.36 中變化

bstr jpg ons 變化 image width ble isa component

linux 4.1.36 中變化
ret = request_irq(IRQ_DMA2, s3c2440_dma2_irq, IRQF_DISABLED, "myalsa for playback", substream);

IRQF_DISABLED 換為 IRQF_TRIGGER_NONE

snd_soc_register_dai(&pdev->dev, &s3c2440_i2s_dai);
換為
static const struct snd_soc_component_driver s3c2440_i2s_component = {
.name = "s3c2440-iis",
};

ret = devm_snd_soc_register_component(&pdev->dev, &s3c2440_i2s_component, &s3c2440_i2s_dai, 1);

附上驅動成功的圖

技術分享

ALSA 聲卡 驅動 linux 4.1.36 中變化