]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nva3-/disp: fix hda eld writing, needs to be padded
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 29 Jul 2013 02:30:57 +0000 (22:30 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 30 Jul 2013 03:04:38 +0000 (13:04 +1000)
commit2141b47ba2723602af3f4473454d52ff68f63da1
tree14e7dbec1fb02e99439bd5b2c1e5315104a60516
parent56a4419095a2650066046f222833e9d31998f6fd
drm/nva3-/disp: fix hda eld writing, needs to be padded

Commits 5b8d10aab (drm/nvd0/disp: move HDA codec setup to core) and
ea9edae9c (drm/nva3/disp: move hda codec handling to core) moved code
around but neglected to fill data up to 0x60 as before. This caused
/proc/asound/cardN/eld#3.0 to show eld_valid as 0. With this patch, that
file is again populated with the correct data.

See https://bugs.freedesktop.org/show_bug.cgi?id=67051

Reported-and-tested-by: Alex <alupu01@gmail.com>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/disp/hdanva3.c
drivers/gpu/drm/nouveau/core/engine/disp/hdanvd0.c