]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: bytcr_wm5102: use GFP_KERNEL
authorJulia Lawall <Julia.Lawall@inria.fr>
Thu, 10 Feb 2022 20:42:17 +0000 (21:42 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 11 Feb 2022 10:31:25 +0000 (10:31 +0000)
commit35268aa204ea18f2d72c66df90c760cde87400c0
tree35381d2097b36b3cf85f0e1c8da42d230ede627e
parent89ee6d48beeae71d7654486dbde736785ad51a1e
ASoC: Intel: bytcr_wm5102: use GFP_KERNEL

Platform_driver probe functions aren't called with locks held
and thus don't need GFP_ATOMIC. Use GFP_KERNEL instead.

Problem found with Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220210204223.104181-4-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_wm5102.c