30 Oct
2013
30 Oct
'13
6:19 p.m.
On Wed, Oct 30, 2013 at 09:47:30AM +0800, Nicolin Chen wrote:
On Tue, Oct 29, 2013 at 09:19:59AM -0700, Mark Brown wrote:
There's no reason CODECs can't implement pinctrl if they want to.
Hmm..Sorry, I'm little confused. What should I do? Adding a pinctrl_pm for codec_dai->pins? Or a condition like "if (!codec_dai->active)"?
The former; I'd expect the calls to be done for the CODEC and the CPU (you'd need the active check for the CODEC as well I guess though almost all the time the CPU and CODEC active states should be the same).