mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
rk30_i2s: fix for rk3188, add i2s1 support
This commit is contained in:
@@ -678,6 +678,14 @@ static int __devinit rockchip_i2s_probe(struct platform_device *pdev)
|
||||
i2s->dma_playback->dma_addr = RK30_I2S2_2CH_PHYS + I2S_TXR_BUFF;
|
||||
break;
|
||||
#endif
|
||||
#if defined(CONFIG_ARCH_RK3188)
|
||||
case 1:
|
||||
i2s->dma_capture->channel = DMACH_I2S1_2CH_RX;
|
||||
i2s->dma_capture->dma_addr = RK30_I2S1_2CH_PHYS + I2S_RXR_BUFF;
|
||||
i2s->dma_playback->channel = DMACH_I2S1_2CH_TX;
|
||||
i2s->dma_playback->dma_addr = RK30_I2S1_2CH_PHYS + I2S_TXR_BUFF;
|
||||
break;
|
||||
#endif
|
||||
#ifdef CONFIG_ARCH_RK2928
|
||||
case 0:
|
||||
i2s->dma_capture->channel = DMACH_I2S0_8CH_RX;
|
||||
|
||||
Reference in New Issue
Block a user