- Turn speakers on for STAC9205 by using its non-standard GPIO controls.
commitbfc16e9f7f54b9cc30a627dc6952f1dcd42153dd
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 11 Aug 2013 16:00:21 +0000 (11 16:00 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 11 Aug 2013 16:00:21 +0000 (11 16:00 +0000)
tree8d9df707e9f59472fa1d32d10a1b65fc8a1adeae
parentb2afb40fd33a857c169da40191c0ac4b1c97065a
 - Turn speakers on for STAC9205 by using its non-standard GPIO controls.
   This product-specific configuration is done slightly differently to
   existing product-specific configurations: only the strictly
   product-specific steps are performed; the generic configuration function
   is still called subsequently to complete initialisation. This approach
   should probably be used in future, as it should make the code smaller and
   more maintainable.
 - Added write_default_config() function for future use in patching bad
   widget config data.
 - Turn on input amp as well as output amp for speakers.
 - Added some debug output regarding enabling/disabling speakers because
   of headphone status.
 - Merged find_speaker_nid() function into find_pin_widget_with_encoding().
 - Removed unused functions switch_nid_to_(in|out)put().
 - Fixed some indentation.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@47807 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/devs/AHI/Drivers/HDAudio/DriverData.h
workbench/devs/AHI/Drivers/HDAudio/misc.c
workbench/devs/AHI/Drivers/HDAudio/regs.h
workbench/devs/AHI/Drivers/HDAudio/version.date
workbench/devs/AHI/Drivers/HDAudio/version.rev