On Tue, Jun 23, 2009 at 08:38:20AM +0300, Peter Ujfalusi wrote:
Now if you start an audio playback (which will enable the ARXL1, even if we are in Option2), than you stop it: the ARXL1 (which is VRX in Option2) bit will be turned off... Now I'm not sure how this will be handled by the ASoC core. What I mean is: One path enabled this bit, than another path also enables the same bit, than it disables it. Will the first path notice it? Or will it think that the bit is still enabled?
Sounds like a possible case for a supply widget, though the fact that you've got both option 1 and option 2 is fun. If the driver were a proper platform driver you could select between option 1 and option 2 in platform data (assuming that's sensible) and register different widgets depending on which was in use.