Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • linux-rt linux-rt
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • Packaging
  • Upstream
  • linux-rtlinux-rt
  • Repository
Switch branch/tag
  • linux-rt
  • sound
  • core
  • pcm_lib.c
Find file BlameHistoryPermalink
  • Clemens Ladisch's avatar
    sound: pcm_lib: fix unsorted list constraint handling · b1ddaf68
    Clemens Ladisch authored Aug 25, 2009
    snd_interval_list() expected a sorted list but did not document this, so
    there are drivers that give it an unsorted list.  To fix this, change
    the algorithm to work with any list.
    
    This fixes the "Slave PCM not usable" error with USB devices that have
    multiple alternate settings with sample rates in decreasing order, such
    as the Philips Askey VC010 WebCam.
    
    http://bugzilla.kernel.org/show_bug.cgi?id=14028
    
    
    
    Reported-and-tested-by: default avatarAndrzej <adkadk@gmail.com>
    Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
    Cc: <stable@kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    b1ddaf68