mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
ALSA: x86: Check platform_data earlier
Just a minor optimization; check the presence of platform_data earlier in the probe function before actually starting allocation, which makes the error path easier. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
c415022e48
commit
301cf8a955
1 changed files with 6 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue