Skip to content
Snippets Groups Projects
Commit 75415df8 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcsp: Fix initialization with nopcm=1


When nopcm=1 is set, some initializations based on hrtimer resolution
might be bogus because the driver checks the resolution only when
nopcm=0.  Simply get the resolution always at first for fixing the
bug.

Spotted by coverity CID 139740.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a8d09e3a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment