17 Dec
2018
17 Dec
'18
3:10 p.m.
On Mon, Dec 17, 2018 at 02:58:03PM +0200, Dimitris Papavasiliou wrote:
In general the clocks need to be switched during the hw_params callback (when the new callback specifies a new sample rate, which needs the other clock) and, as far as I can see, this can happen at more or less any time, i.e. in all power states and regardless of whether the device is opened or closed.
It shouldn't be called while the stream is running, if it is it'd be entirely fine to just return an error.