]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: us122l: Use alloc_pages_exact()
authorTakashi Iwai <tiwai@suse.de>
Sat, 16 Mar 2019 07:48:52 +0000 (08:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Mar 2019 16:15:04 +0000 (17:15 +0100)
commit21616dd821012a04bcdb5ec54375a77f655fef7e
treeb0acfaf2861c693c31418435d07eea75c6d7c0ef
parent61b9200ab46fb3f38872bd411fac79a9b1af1360
ALSA: us122l: Use alloc_pages_exact()

alloc_pages_exact() is more suitable choice for allocating the sound
buffers, as it doesn't need to align with power-of-two.  Along with
the conversion, we can drop __GFP_COMP as well.

The patch also replace the error messages to be more explicit.

Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usx2y/usb_stream.c