]> 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)
commit3d8a1c2ddee4be87e1316e751cacbc50a011ea56
tree1f0284ab71b753d2ff483f5332c9aa404ab644bf
parent46834114170da864c075676cf1e1eac4cd89312f
ASoC: core: Adapt for debugfs API change

Back in 846632d286c9d64 (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: 846632d286c9d64 (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