git: sound: Re-add Acer C720 support with some adjustments
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jan 8 15:29:17 PST 2015
commit 536a8300c32bdf0b5bba36cfda13cadeac20ce13
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Jan 8 15:25:02 2015 -0800
sound: Re-add Acer C720 support with some adjustments
* Add the Acer C720 infrastructure back in.
* Move the core register programming patch into
gnu/dev/sound/pci/hda/hda_acer_c720_patch.c along with the original
GPL copyright from the linux file.
This is the only part of the patch which could reasonably be said to
have been taken from the linux driver.
* The rest of the patch is basically two things.
First, mandatory adjustments to the NID routing to detect
headphone insertion and removal, which was done through trial
an error with my Acer and then verified against the linux driver.
Second, we did include the disabling of the remixer based on a
comment in the linux driver. Basically NID 11 is disabled, two
lines of code, and there's only one way to do that.
Summary of changes:
sys/dev/sound/driver/hda/Makefile | 2 +
sys/dev/sound/pci/hda/hdaa.c | 43 ++++-
sys/dev/sound/pci/hda/hdaa.h | 1 +
sys/dev/sound/pci/hda/hdaa_patches.c | 63 +++++++
.../sound/pci/hda/hdaa_patches.h} | 17 +-
sys/dev/sound/pci/hda/hdac.h | 2 +
sys/gnu/dev/sound/pci/hda/hda_acer_c720_patch.c | 199 +++++++++++++++++++++
7 files changed, 311 insertions(+), 16 deletions(-)
copy sys/{sys/_timespec.h => dev/sound/pci/hda/hdaa_patches.h} (83%)
create mode 100644 sys/gnu/dev/sound/pci/hda/hda_acer_c720_patch.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/536a8300c32bdf0b5bba36cfda13cadeac20ce13
--
DragonFly BSD source repository
More information about the Commits
mailing list