]> asedeno.scripts.mit.edu Git - linux.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)
commitc2c928c93173f220955030e8440517b87ec7df92
tree1f0284ab71b753d2ff483f5332c9aa404ab644bf
parentb545542a0b866f7975254e41c595836e9bc0ff2f
ASoC: core: 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-core.c