commit | 301cf8a9559bb372ab64da3781d3d93d1ce38213 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Jan 31 08:44:23 2017 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Feb 03 17:31:06 2017 +0100 |
tree | 53c04f64d4878f7c9324cc1c3c05c9d46323406b | |
parent | c415022e487fbba19926b56b981c5474474c0465 [diff] |
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>