]> git.hungrycats.org Git - linux/commit
ASoC: Intel: sst: Fix used of uninitialized ctx to log an error
authorHans de Goede <hdegoede@redhat.com>
Sat, 26 Oct 2024 14:36:15 +0000 (16:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 12:54:07 +0000 (13:54 +0100)
commita9103a821f2c0e32ccc2f877c2a2cf6e05c02379
treebf7af50168fb304185579e2602ed2f7757a81b46
parent368b7ec0ce88e94f7f071f73c3d00dbba5220f9a
ASoC: Intel: sst: Fix used of uninitialized ctx to log an error

commit c1895ba181e560144601fafe46aeedbafdf4dbc4 upstream.

Fix the new "LPE0F28" code path using the uninitialized ctx variable
to log an error.

Fixes: 6668610b4d8c ("ASoC: Intel: sst: Support LPE0F28 ACPI HID")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410261106.EBx49ssy-lkp@intel.com/
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20241026143615.171821-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/intel/atom/sst/sst_acpi.c