OSDN Git Service

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)
commitceaea851b9ea75f9ea2bbefb53ff0d4b27cd5a6e
tree39f466a1391b795db4a4188a42422e209ad33fbe
parentc2c928c93173f220955030e8440517b87ec7df92
ASoC: dapm: Adapt for debugfs API change

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