Reset the control count so the hmulti_audio does not try to read them. Fixes crash when using hda with hmulti_audio under R5.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23405 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2008-01-11 17:06:27 +00:00
parent e7d7efa1c7
commit b004f6291c

View File

@ -124,6 +124,7 @@ set_global_format(hda_afg* afg, multi_format_info* data)
static status_t
list_mix_controls(hda_afg* afg, multi_mix_control_info * data)
{
data->control_count = 0;
return B_OK;
}