Re: [alsa-devel] [PATCH] Add SoundCard driver for OKI SEMICONDUCTOR ML7213 IOH
On Mon, Oct 24, 2011 at 09:12:42PM +0900, Tomoya MORINAGA wrote:
- PCI interface function.
Any current ASoC drivers don't have PCI interface function. So I don't know where the function should be in machine driver or platform driver.
It depends on what the driver is for. Probably you want a driver which is some combination of machine driver and the various drivers that are normally part of the SoC - whatever roles in the system are filled by this hardware the driver ought to register subsystem drivers for those roles.
- Register Access
Can platform driver access register ? According to the soc document, platform driver must not access hardware, however, some drivers looks accessing their hardware.
What makes you say this? A driver that can't access hardware would be rather useless...
participants (1)
-
Mark Brown