- 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