From: "SengKai,Tan" <[email protected]>

This reverts commit 132bd96bc56f9cafd24b71de389984d0e83a0956.

Revert this changes to let subsequence cherry-pick's patch
go in smoothly

Signed-off-by: SengKai,Tan <[email protected]>
---
 sound/pci/hda/hda_codec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 57197be..52689d3 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -436,7 +436,7 @@ static unsigned int get_num_devices(struct hda_codec 
*codec, hda_nid_t nid)
            get_wcaps_type(wcaps) != AC_WID_PIN)
                return 0;
 
-       parm = snd_hdac_read_parm_uncached(&codec->core, nid, 
AC_PAR_DEVLIST_LEN);
+       parm = snd_hda_param_read(codec, nid, AC_PAR_DEVLIST_LEN);
        if (parm == -1 && codec->bus->rirb_error)
                parm = 0;
        return parm & AC_DEV_LIST_LEN_MASK;
-- 
1.9.1

-- 
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to