]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Adapt for debugfs API change
authorMark Brown <broonie@kernel.org>
Fri, 21 Jun 2019 11:33:57 +0000 (12:33 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jun 2019 16:18:51 +0000 (17:18 +0100)
commit9ae3b4e220f019db1a73dbab251d9e63ef87f5da
tree39f466a1391b795db4a4188a42422e209ad33fbe
parent3d8a1c2ddee4be87e1316e751cacbc50a011ea56
ASoC: dapm: 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-dapm.c