]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/hda/hdac_controller.c
Merge tag 'pci-v4.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[karo-tx-linux.git] / sound / hda / hdac_controller.c
index 043065867656d0bf2a5221fb9741bfc29c14c439..ee08c389b4d68900c0065b346aeddb75a6e5eabc 100644 (file)
@@ -268,11 +268,11 @@ int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus)
        unsigned int offset;
        unsigned int counter = 0;
 
-       offset = snd_hdac_chip_readl(bus, LLCH);
+       offset = snd_hdac_chip_readw(bus, LLCH);
 
        /* Lets walk the linked capabilities list */
        do {
-               cur_cap = _snd_hdac_chip_read(l, bus, offset);
+               cur_cap = _snd_hdac_chip_readl(bus, offset);
 
                dev_dbg(bus->dev, "Capability version: 0x%x\n",
                        (cur_cap & AZX_CAP_HDR_VER_MASK) >> AZX_CAP_HDR_VER_OFF);