Re: [PATCH] sound/sgtl5000: fix codec clock source transition to avoid clockless moment

2013-08-05 Thread Mark Brown
On Mon, Aug 05, 2013 at 07:36:02AM +, Oskar Schirmer wrote: > Powering down PLL before switching to a mode that does not use it > is a bad idea. It would cause the SGTL5000 be without internal > clock supply, especially on the I2C interface, which would make > subsequent access to it fail. App

[PATCH] sound/sgtl5000: fix codec clock source transition to avoid clockless moment

2013-08-05 Thread Oskar Schirmer
Powering down PLL before switching to a mode that does not use it is a bad idea. It would cause the SGTL5000 be without internal clock supply, especially on the I2C interface, which would make subsequent access to it fail. Thus, in case of not using PLL any longer, first set the mode control, then