lkml.org 
[lkml]   [2018]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.9 73/95] ALSA: hda - New VIA controller suppor no-snoop path
    Date
    4.9-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: David Wang <davidwang@zhaoxin.com>

    commit af52f9982e410edac21ca4b49563053ffc9da1eb upstream.

    This patch is used to tell kernel that new VIA HDAC controller also
    support no-snoop path.

    [ minor coding style fix by tiwai ]

    Signed-off-by: David Wang <davidwang@zhaoxin.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    sound/pci/hda/hda_intel.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    --- a/sound/pci/hda/hda_intel.c
    +++ b/sound/pci/hda/hda_intel.c
    @@ -1514,7 +1514,8 @@ static void azx_check_snoop_available(st
    */
    u8 val;
    pci_read_config_byte(chip->pci, 0x42, &val);
    - if (!(val & 0x80) && chip->pci->revision == 0x30)
    + if (!(val & 0x80) && (chip->pci->revision == 0x30 ||
    + chip->pci->revision == 0x20))
    snoop = false;
    }


    \
     
     \ /
      Last update: 2018-04-22 16:57    [W:4.164 / U:0.216 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site