[alsa-devel] [PATCH RFC 1/3] ASoC: uda1380: use callbacks instead of gpiolib

Vasily Khoruzhick anarsoul at gmail.com
Sat Jun 26 22:53:50 CEST 2010


В сообщении от 26 июня 2010 23:09:39 автор Mark Brown написал:

> The regulator API isn't massively complex either and it does provide a
> standard abstraction for controlling power which seems like it might be
> useful here, though given the (frankly rather odd) fiddling with clocks
> your callback does perhaps it won't help.

Ok, but I still don't like idea about keeping both regulator and gpio stuff. 
Btw, this weird clock stuff can be merged to i2c driver, i.e. keep i2c module 
clock enabled only on i2c transfer (it's not scl line, it's module clock) 
(I've sent patch for i2c-s3c2410 ~month ago, can resend it), and we can avoid 
modyfing power/reset controlling part of uda1380 driver. What do you think 
about that?

Regards
Vasily
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20100626/399403dc/attachment.sig 


More information about the Alsa-devel mailing list