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
  • usb
  • endpoint.c
Find file BlameHistoryPermalink
  • Takashi Iwai's avatar
    ALSA: usb-audio: Create endpoint objects at parsing phase · 54cb3190
    Takashi Iwai authored Nov 23, 2020
    
    
    Currently snd_usb_endpoint objects are created at first when the
    substream is opened and tries to assign the endpoints corresponding to
    the matching audioformat.  But since basically the all endpoints have
    been already parsed and the information have been obtained, we may
    create the endpoint objects statically at the init phase.  It's easier
    to manage for the implicit fb case, for example.
    
    This patch changes the endpoint object management and lets the parser
    to create the all endpoint objects.
    
    This change shouldn't bring any functional changes.
    
    Tested-by: default avatarKeith Milner <kamilner@superlative.org>
    Tested-by: default avatarDylan Robinson <dylan_robinson@motu.com>
    Link: https://lore.kernel.org/r/20201123085347.19667-15-tiwai@suse.de
    
    
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    54cb3190