linux/sound/soc/intel/boards
Jia-Ju Bai f3cc330a10
ASoC: intel: cht_bsw_rt5645: Replace GFP_ATOMIC with GFP_KERNEL in snd_cht_mc_probe
snd_cht_mc_probe() is never called in atomic context.
This function is only set as ".probe" in "struct platform_driver".

Despite never getting called from atomic context,
snd_cht_mc_probe() calls devm_kzalloc() with GFP_ATOMIC,
which waits busily for allocation.
GFP_ATOMIC is not necessary and can be replaced with GFP_KERNEL,
to avoid busy waiting and improve the possibility of sucessful allocation.

This is found by a static analysis tool named DCNS written by myself.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-04-16 11:53:41 +01:00
..
bdw-rt5677.c Merge remote-tracking branches 'asoc/topic/rt5645', 'asoc/topic/rt5651', 'asoc/topic/rt5659' and 'asoc/topic/rt5660' into asoc-next 2018-03-28 10:30:29 +08:00
broadwell.c Merge branch 'topic/component-platform' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-intel 2018-03-01 19:55:59 +00:00
bxt_da7219_max98357a.c ASoC: intel: bxt_da7219_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe 2018-04-16 11:53:38 +01:00
bxt_rt298.c ASoC: intel: bxt_rt298: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe 2018-04-16 11:53:39 +01:00
byt-max98090.c ASoC: intel: Remove superfluous snd_soc_jack_free_gpios() call 2017-08-22 13:38:47 +01:00
byt-rt5640.c ASoC: rt5640: replace codec to component 2018-02-12 09:45:47 +00:00
bytcht_da7213.c ASoC: Intel - Convert to use acpi_dev_get_first_match_name() 2018-01-12 21:20:29 +00:00
bytcht_es8316.c ASoC: Intel - Convert to use acpi_dev_get_first_match_name() 2018-01-12 21:20:29 +00:00
bytcht_nocodec.c ASoC: Intel: boards: remove hard-coded compressed dailinks 2017-10-18 12:30:29 +01:00
bytcr_rt5640.c ASoC: intel: bytcr_rt5640: Replace GFP_ATOMIC with GFP_KERNEL in snd_byt_rt5640_mc_probe 2018-04-16 11:53:40 +01:00
bytcr_rt5651.c ASoC: Intel: bytcr_rt5651: don't use codec anymore 2018-03-28 10:10:49 +08:00
cht_bsw_max98090_ti.c ASoC: intel: cht_bsw_max98090_ti: Replace GFP_ATOMIC with GFP_KERNEL in snd_cht_mc_probe 2018-04-16 11:53:40 +01:00
cht_bsw_nau8824.c ASoC: Intel: fix argument error in nau8824 machine 2018-03-02 11:29:20 +00:00
cht_bsw_rt5645.c ASoC: intel: cht_bsw_rt5645: Replace GFP_ATOMIC with GFP_KERNEL in snd_cht_mc_probe 2018-04-16 11:53:41 +01:00
cht_bsw_rt5672.c ASoC: rt5670: replace codec to component 2018-02-12 09:46:19 +00:00
haswell.c ASoC: intel: haswell: replace platform to component 2018-02-12 11:45:11 +00:00
kbl_da7219_max98357a.c ASoC: intel: kbl_da7219_max98357: replace codec to component 2018-02-19 11:32:52 +00:00
kbl_rt5663_max98927.c ASoC: Intel: kbl: Enable mclk and ssp sclk early for rt5663 2018-03-01 16:23:20 +00:00
kbl_rt5663_rt5514_max98927.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
Kconfig ASoC: Intel: add nau8824 sound card 2018-03-01 16:48:46 +00:00
Makefile ASoC: Intel: add nau8824 sound card 2018-03-01 16:48:46 +00:00
skl_nau88l25_max98357a.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
skl_nau88l25_ssm4567.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
skl_rt286.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00