]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:12:58 +0000 (09:12 +0200)
commitf4d67769179d75e5ac1e2f599ec6cb4b656473ca
treece5836304a68078b866ce7b75401b1d7d9068583
parent688cef5054f2e1cdfa316db52b546c5cf222d9c1
ASoC: dapm: Adapt for debugfs API change

commit ceaea851b9ea75f9ea2bbefb53ff0d4b27cd5a6e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/soc-dapm.c