[alsa-devel] [PATCH v5 02/12] ASoC: davinci-evm: Add device tree binding
broonie at kernel.org
Tue Oct 22 14:39:24 CEST 2013
On Tue, Oct 22, 2013 at 03:26:11PM +0300, Jyri Sarha wrote:
> On 10/22/2013 02:01 PM, Mark Brown wrote:
> >>+ /*
> >>+ * If dtb is there, the devices will be created dynamically.
> >>+ * Only register platfrom driver structure.
> >>+ */
> >>+ if (of_have_populated_dt())
> >>+ return platform_driver_register(&davinci_evm_driver);
> >Why not register the driver unconditionally?
> I am just trying touch the legacy davinci audio support as little as
> possible. Would registering the driver in non DT mode do some good?
It would look a good deal less odd which is useful in itself; the best
thing would be if they could both use the same driver which uses both
platform and DT data.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Alsa-devel