summaryrefslogtreecommitdiffstats
path: root/sound/firewire
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2020-08-26 22:03:37 +0530
committerMark Brown <broonie@kernel.org>2020-08-26 18:58:40 +0100
commit344850d93c098e1b17e6f89d5e436893e9762ef3 (patch)
tree48dca72f05c93cc645cdc5c1e5fd0f0e4dfedd49 /sound/firewire
parent6e0c9b5f90978287b5a3d38ee83203d295f375f1 (diff)
downloadlinux-stable-344850d93c098e1b17e6f89d5e436893e9762ef3.tar.gz
linux-stable-344850d93c098e1b17e6f89d5e436893e9762ef3.tar.bz2
linux-stable-344850d93c098e1b17e6f89d5e436893e9762ef3.zip
ASoC: rt1308-sdw: Fix return check for devm_regmap_init_sdw()
devm_regmap_init_sdw() returns a valid pointer on success or ERR_PTR on failure which should be checked with IS_ERR. Also use PTR_ERR for returning error codes. Reported-by: Takashi Iwai <tiwai@suse.de> Fixes: a87a6653a28c ("ASoC: rt1308-sdw: add rt1308 SdW amplifier driver") Signed-off-by: Vinod Koul <vkoul@kernel.org> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200826163340.3249608-3-vkoul@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions