On Mon, Apr 20, 2015 at 08:12:36AM -0700, Kevin Cernekee wrote:
On Mon, Apr 20, 2015 at 5:21 AM, Mark Brown broonie@kernel.org wrote:
The same check shows up in numerous other drivers, including the one for the audio controller on my board.
Sounds like either that (undisclosed) driver has a problem or you're using it inappropriately.
I don't think this driver has been posted on the list yet, but the checks show up in these two functions:
https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3... https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3...
Any suggestions on what to change?
That driver has not been posted previously (and looks like it could use some rework for mainline). If it doesn't care if it set the clock and is just trying for information it should be handling -ENOTSUPP, that's why the core returns that value.