Skip to content
  • Shahin Ghazinouri's avatar
    ALSA: hda - Fixes distorted recording on US15W chipset · beaffc39
    Shahin Ghazinouri authored
    
    
    The HDA controller in US15W (Poulsbo) reports inaccurate position values
    for capture streams when using the LPIB read method, resulting in
    distorted recordings.
    
    However, using the position buffer is broken for playback streams,
    resulting in a fallback to the LPIB method with the current driver.
    This patch works around the issue by independently detecting the read
    position method for capture and playback streams.
    
    The patch will not have any effect if the position fix method is
    explicitly set.
    
    [Code simplified by tiwai]
    
    Signed-off-by: default avatarShahin Ghazinouri <shahin.ghazinouri@pelagicore.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    beaffc39