diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-10-29 15:15:20 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-10-29 15:15:20 +0100 |
commit | 75415df8ffbac2ace9463ceffb3f21299af2548a (patch) | |
tree | 9e9b552808ff8bede28da00a86167b2a7f99b41d /sound/core | |
parent | ALSA: opl3: Fix possible negative array index access (diff) | |
download | linux-75415df8ffbac2ace9463ceffb3f21299af2548a.tar.xz linux-75415df8ffbac2ace9463ceffb3f21299af2548a.zip |
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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions