[alsa-devel] [PATCH 1/7] ASoC: amd: dma driver changes for BT I2S controller instance

Mark Brown broonie at kernel.org
Wed Mar 14 17:24:24 CET 2018


On Wed, Mar 14, 2018 at 04:06:15PM +0530, Mukunda,Vijendar wrote:

Please fix your mail client to word wrap within paragraphs at something
substantially less than 80 columns.  Doing this makes your messages much
easier to read and reply to.

> On Monday 12 March 2018 11:55 PM, Mark Brown wrote:

> > I'm still not thrilled about this.  If we're hard coding names they
> > should be explicitly assigned names so that there's less chance that
> > some other change in the subsystem will change things.

> AMD Gpu driver creates devices for Playback and capture devices for both the I2S Controller instances using MFD framework.
> Designware driver probe call gets invoked for every device creation with resource information and platform data provided by GPU driver.
> In runtime , it seems exporting the device resource name from dwc driver to acp dma driver is not possible.

This is not the case, if you are instantiating a platform device you can
pass platform data to it when you do so by initializing the dev.platform_data 
field.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180314/91ceecb7/attachment.sig>


More information about the Alsa-devel mailing list