diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-06-06 14:00:23 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-06-06 14:11:14 +0200 |
commit | e7ecc27e520a9c9891362c6dabd18c4da9885946 (patch) | |
tree | f919645b7e4c9316b5823801739dc214acd4c35f /drivers/mailbox | |
parent | 36bb00d4b2463b0b8b37fb0ce753813bf729b997 (diff) |
ALSA: hda - Introduce bit flags to snd_hda_codec_read/write()
snd_hda_codec_read(), snd_hda_codec_write() & co take the argument
"direct" that indicates whether the given NID is a direct reference or
an indirect reference. However, the indirect reference is practically
unimplemented and never exists. And moreover, we don't need the
indication of indirect reference at this high level, as NID can be
represented in 16bit values at this point.
Meanwhile, there are some cases where it'd be nice to give some
operational options to these functions. So, we can reuse this
argument as a new bit flag! Pretty frugal, eh?
All callers so far pass zero to this argument, thus there is no
behavior change by this replacement.
The real usage of this new bit option will be added in the following
patches.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions