Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 301cf8a9 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent c415022e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment