]> 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)
commit83aa719f9fb9a018bf1e6b7dbf1fe503f0cd9c85
treeb0acfaf2861c693c31418435d07eea75c6d7c0ef
parentd23949e7088e5949cf80c0242f8e35b5c00427f0
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