26 Jun
2010
26 Jun
'10
11:53 p.m.
В сообщении от 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