mbox series

[6.8,regression,fix,0/2] ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards

Message ID 20240210134400.24913-1-hdegoede@redhat.com
Headers show
Series ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards | expand

Message

Hans de Goede Feb. 10, 2024, 1:43 p.m. UTC
Hi All,

While testing 6.8 on a Bay Trail device with a ALC5640 codec
I noticed a regression in 6.8 which causes a NULL pointer deref
in probe().

All BYT/CHT Intel machine drivers are affected. Patch 1/2 of
this series fixes all of them.

Patch 2/2 adds some small cleanups to cht_bsw_rt5645.c for
issues which I noticed while working on 1/2.

Regards,

Hans



Hans de Goede (2):
  ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards
  ASoC: Intel: cht_bsw_rt5645: Cleanup codec_name handling

 sound/soc/intel/boards/bytcht_cx2072x.c | 3 ++-
 sound/soc/intel/boards/bytcht_da7213.c  | 3 ++-
 sound/soc/intel/boards/bytcht_es8316.c  | 3 ++-
 sound/soc/intel/boards/bytcr_rt5640.c   | 3 ++-
 sound/soc/intel/boards/bytcr_rt5651.c   | 3 ++-
 sound/soc/intel/boards/bytcr_wm5102.c   | 3 ++-
 sound/soc/intel/boards/cht_bsw_rt5645.c | 7 +++----
 sound/soc/intel/boards/cht_bsw_rt5672.c | 3 ++-
 8 files changed, 17 insertions(+), 11 deletions(-)