Thread (28 messages) 28 messages, 5 authors, 2016-11-14
STALE3537d

[PATCH RFC 4/7] ASoC: samsung: i2s: Do not use platform_data for DMA parameters

From: s.nawrocki@samsung.com (Sylwester Nawrocki)
Date: 2016-11-07 16:02:54
Also in: linux-samsung-soc

On 11/05/2016 12:29 AM, Arnd Bergmann wrote:
On Friday 04 November 2016, Sylwester Nawrocki wrote:
quoted
quoted
-       ret = samsung_asoc_dma_platform_register(&pdev->dev, pri_dai->filter,
+       ret = samsung_asoc_dma_platform_register(&pdev->dev, NULL,
                                                 NULL, NULL);
If we remove the filter argument from every caller here, maybe we should also
change the prototype to not expect those three NULL arguments any more.
There is one occurrence where the third argument needs to be not NULL.
I'm planning to modify sound/sound/samsung/i2s.c so there is no need
to create another platform device just for the overlay DAI, afterwards
the above function could be simplified.

-- 
Thanks,
Sylwester
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help