Mark Brown broonie@opensource.wolfsonmicro.com writes:
On Wed, Jul 09, 2008 at 09:36:41PM +0200, Robert Jarzmik wrote:
After a second thought, I don't think I can. The AC97 link is needed to for the touchscreen and battery level calculation (ADC1). So I don't think we can shutdown the link.
Have you checked that this currently works? The AC97 bus should be unregistered when the audio device is unregistered. I have to confess that I haven't tested this in v2 but it is the intended behaviour - the AC97 controller is provided by the ASoC drivers so when it is stopped the link should be unregistered.
No. And yes, just checked. You're right, once snd-soc-mioa701 is removed, touchscreen and battery don't exist anymore (input device gone, etc ...). So I could/will shutdown the link.
-- Robert