]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Adapt for debugfs API change
authorMark Brown <broonie@kernel.org>
Fri, 21 Jun 2019 11:33:56 +0000 (12:33 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jun 2019 16:18:31 +0000 (17:18 +0100)
commita8026f69af764c4a6469a1261ab91b88bb05215b
tree1f0284ab71b753d2ff483f5332c9aa404ab644bf
parentd7e20ecd3c6944a58deaa93b263c7da6e4cfb67e
ASoC: core: Adapt for debugfs API change

Back in 9aab8ec1d842ddb (debugfs: return error values, not NULL) the
debugfs APIs were changed to return error pointers rather than NULL
pointers on error, breaking the error checking in ASoC. Update the
code to use IS_ERR() and log the codes that are returned as part of
the error messages.

Fixes: 9aab8ec1d842ddb (debugfs: return error values, not NULL)
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c