]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ASoC: rt5645: fix a NULL pointer dereference"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 May 2021 11:57:21 +0000 (13:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:32:34 +0000 (18:32 +0200)
commit54b9d622a727809d9614535107b0ef3db4f6012f
tree600e55598e07cd0ad302884c39e39922ad4d0c59
parentcaa6bcee3f3a1d6902128dd3c588202504c55482
Revert "ASoC: rt5645: fix a NULL pointer dereference"

This reverts commit b3d970326d65a427cf7a7afbd477eb6a42143fd4.

Because of recent interactions with developers from @umn.edu, all
commits from them have been recently re-reviewed to ensure if they were
correct or not.

Upon review, this commit was found to be incorrect for the reasons
below, so it must be reverted.  It will be fixed up "correctly" in a
later kernel change.

Lots of things seem to be still allocated here and must be properly
cleaned up if an error happens here.

Cc: Kangjie Lu <kjlu@umn.edu>
Cc: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210503115736.2104747-55-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/rt5645.c