All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] ASoC: Intel: fix kernel oops in machine drivers
@ 2019-06-04 20:08 Pierre-Louis Bossart
  2019-06-04 20:08 ` [PATCH 1/4] ASoC: Intel: cht_bsw_max98090: fix kernel oops with platform_name override Pierre-Louis Bossart
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Pierre-Louis Bossart @ 2019-06-04 20:08 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, broonie, Pierre-Louis Bossart

The changes made for v5.1 to override the default platform_name
assumed the card device was properly initialized so that devm_strdup()
could be used. This is true for the majority of the machine drivers,
but unfortunately this isn't valid for four of the Cherrytrail-based
ones which don't follow the same programming flow and initialize the
card device last. After hitting a kernel oops on cht-bsw-max98090
(Cyan Chromebook) I found 3 other cases where the same fix is
required.

These fixes should be applied for 5.1 and 5.2. While it's not an
excuse for this miss, the impact is limited in that the kernel oops
will only happen when SOF is used.

Pierre-Louis Bossart (4):
  ASoC: Intel: cht_bsw_max98090: fix kernel oops with platform_name
    override
  ASoC: Intel: bytcht_es8316: fix kernel oops with platform_name
    override
  ASoC: Intel: cht_bsw_nau8824: fix kernel oops with platform_name
    override
  ASoC: Intel: cht_bsw_rt5672: fix kernel oops with platform_name
    override

 sound/soc/intel/boards/bytcht_es8316.c       | 2 +-
 sound/soc/intel/boards/cht_bsw_max98090_ti.c | 2 +-
 sound/soc/intel/boards/cht_bsw_nau8824.c     | 2 +-
 sound/soc/intel/boards/cht_bsw_rt5672.c      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-06-06 21:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-04 20:08 [PATCH 0/4] ASoC: Intel: fix kernel oops in machine drivers Pierre-Louis Bossart
2019-06-04 20:08 ` [PATCH 1/4] ASoC: Intel: cht_bsw_max98090: fix kernel oops with platform_name override Pierre-Louis Bossart
2019-06-06 21:27   ` Applied "ASoC: Intel: cht_bsw_max98090: fix kernel oops with platform_name override" to the asoc tree Mark Brown
2019-06-04 20:08 ` [PATCH 2/4] ASoC: Intel: bytcht_es8316: fix kernel oops with platform_name override Pierre-Louis Bossart
2019-06-06 21:27   ` Applied "ASoC: Intel: bytcht_es8316: fix kernel oops with platform_name override" to the asoc tree Mark Brown
2019-06-04 20:08 ` [PATCH 3/4] ASoC: Intel: cht_bsw_nau8824: fix kernel oops with platform_name override Pierre-Louis Bossart
2019-06-06 21:27   ` Applied "ASoC: Intel: cht_bsw_nau8824: fix kernel oops with platform_name override" to the asoc tree Mark Brown
2019-06-04 20:08 ` [PATCH 4/4] ASoC: Intel: cht_bsw_rt5672: fix kernel oops with platform_name override Pierre-Louis Bossart
2019-06-06 21:27   ` Applied "ASoC: Intel: cht_bsw_rt5672: fix kernel oops with platform_name override" to the asoc tree Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.