projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: codec: hdmi-codec: add support for audio mode config
[firefly-linux-kernel-4.4.55.git]
/
include
/
sound
/
hdmi-codec.h
diff --git
a/include/sound/hdmi-codec.h
b/include/sound/hdmi-codec.h
index 0fd2e3893f6875163b15ef196a4c44f5ad7ed73d..fd0ff40679a347cde3e4584cedcf711964eb60e5 100644
(file)
--- a/
include/sound/hdmi-codec.h
+++ b/
include/sound/hdmi-codec.h
@@
-51,6
+51,13
@@
struct hdmi_codec_params {
int sample_rate;
int sample_width;
int channels;
+ int mode;
+};
+
+enum {
+ LPCM = 0,
+ NLPCM,
+ HBR,
};
struct hdmi_codec_pdata;