some verbs use a 16 bits payload
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37114 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9a0a4979d5
commit
b14ae02b95
@ -354,7 +354,7 @@ void hda_hw_stop(hda_controller* controller);
|
||||
void hda_hw_uninit(hda_controller* controller);
|
||||
status_t hda_send_verbs(hda_codec* codec, corb_t* verbs, uint32* responses,
|
||||
uint32 count);
|
||||
status_t hda_verb_write(hda_codec* codec, uint32 nid, uint32 vid, uint8 payload);
|
||||
status_t hda_verb_write(hda_codec* codec, uint32 nid, uint32 vid, uint16 payload);
|
||||
status_t hda_verb_read(hda_codec* codec, uint32 nid, uint32 vid, uint32 *response);
|
||||
|
||||
/* hda_controller.c: Stream support */
|
||||
|
@ -775,7 +775,7 @@ hda_send_verbs(hda_codec* codec, corb_t* verbs, uint32* responses, uint32 count)
|
||||
|
||||
|
||||
status_t
|
||||
hda_verb_write(hda_codec* codec, uint32 nid, uint32 vid, uint8 payload)
|
||||
hda_verb_write(hda_codec* codec, uint32 nid, uint32 vid, uint16 payload)
|
||||
{
|
||||
corb_t verb = MAKE_VERB(codec->addr, nid, vid, payload);
|
||||
return hda_send_verbs(codec, &verb, NULL, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user