Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyy there #476

Open
wants to merge 3,476 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3476 commits
Select commit Hold shift + click to select a range
1ec0bc4
ALSA: seq: ump: Transmit RPN/NRPN message at each MSB/LSB data reception
tiwai Jul 30, 2024
4d5b9b5
ALSA: seq: ump: Explicitly reset RPN with Null RPN
tiwai Jul 31, 2024
0017963
Merge branch 'for-linus'
tiwai Jul 31, 2024
086baad
Merge branch 'for-linus'
tiwai Jul 31, 2024
5f0da8a
Merge branch 'for-next'
tiwai Aug 1, 2024
4d0fb75
Merge branch 'for-next'
tiwai Aug 1, 2024
88cc440
Merge branch 'for-next'
tiwai Aug 1, 2024
1b1e0cc
Merge branch 'for-linus'
tiwai Aug 5, 2024
3433d38
Merge branch 'for-linus'
tiwai Aug 5, 2024
ffa2ddd
Merge branch 'for-linus'
tiwai Aug 6, 2024
21befeb
Merge branch 'for-next'
tiwai Aug 6, 2024
0d789cb
Merge branch 'for-next'
tiwai Aug 6, 2024
cc92758
Merge branch 'for-linus'
tiwai Aug 7, 2024
e98d8aa
Merge branch 'for-next'
tiwai Aug 7, 2024
cd2d77f
Merge branch 'for-next'
tiwai Aug 8, 2024
d6de709
Merge branch 'for-linus'
tiwai Aug 8, 2024
36c683b
Merge branch 'for-next'
tiwai Aug 8, 2024
a3e8a28
Merge branch 'for-next'
tiwai Aug 8, 2024
938f007
Merge branch 'for-next'
tiwai Aug 8, 2024
d0a061b
Merge branch 'for-next'
tiwai Aug 8, 2024
5f44f42
Merge branch 'for-next'
tiwai Aug 9, 2024
8891eca
Merge branch 'for-next'
tiwai Aug 9, 2024
560cbcf
Merge branch 'for-linus'
tiwai Aug 9, 2024
984fb11
Merge branch 'for-next'
tiwai Aug 9, 2024
7792897
Merge branch 'for-next'
tiwai Aug 10, 2024
2c4ae24
Merge branch 'for-linus'
tiwai Aug 10, 2024
ce3a27a
Merge branch 'for-linus'
tiwai Aug 12, 2024
21abe62
Merge branch 'for-linus'
tiwai Aug 12, 2024
c3c5767
Merge branch 'for-next'
tiwai Aug 12, 2024
0f1d91a
Merge branch 'for-next'
tiwai Aug 12, 2024
be94a5d
Merge branch 'for-linus'
tiwai Aug 13, 2024
67f22e2
Merge branch 'for-linus'
tiwai Aug 13, 2024
5ec3131
Merge branch 'for-linus'
tiwai Aug 14, 2024
9ab32f2
Merge branch 'for-next'
tiwai Aug 14, 2024
b7143ab
Merge branch 'for-linus'
tiwai Aug 14, 2024
ec47f94
Merge branch 'for-next'
tiwai Aug 16, 2024
0336807
Merge branch 'for-next'
tiwai Aug 16, 2024
4ee87dc
Merge branch 'for-next'
tiwai Aug 17, 2024
51b9e87
Merge branch 'for-next'
tiwai Aug 18, 2024
3116981
Merge branch 'for-next'
tiwai Aug 18, 2024
8d61710
Merge branch 'for-linus'
tiwai Aug 19, 2024
54d5812
Merge branch 'for-linus'
tiwai Aug 19, 2024
aac4515
Merge branch 'for-next'
tiwai Aug 19, 2024
0503cdd
Merge branch 'for-next'
tiwai Aug 19, 2024
f1270b2
Merge branch 'for-linus'
tiwai Aug 21, 2024
6ff5de6
Merge branch 'for-linus'
tiwai Aug 22, 2024
e3ab480
Merge branch 'for-linus'
tiwai Aug 22, 2024
d57916c
Merge branch 'for-linus'
tiwai Aug 23, 2024
48f2ae2
Merge branch 'for-linus'
tiwai Aug 25, 2024
489b390
Merge branch 'for-linus'
tiwai Aug 26, 2024
34d3d7e
Merge branch 'for-next'
tiwai Aug 26, 2024
7aa5189
Merge branch 'for-linus'
tiwai Aug 26, 2024
6a8949f
Merge branch 'for-next'
tiwai Aug 27, 2024
0b55cf5
Merge branch 'for-linus'
tiwai Aug 28, 2024
b6b89b8
Merge branch 'for-next'
tiwai Aug 29, 2024
b6198c2
Merge branch 'for-linus'
tiwai Aug 30, 2024
4a5389a
Merge branch 'for-linus'
tiwai Aug 30, 2024
79eeb72
Merge branch 'for-next'
tiwai Aug 31, 2024
841d6a1
Merge branch 'for-next'
tiwai Sep 1, 2024
3ddd823
Merge branch 'for-next'
tiwai Sep 2, 2024
84736f7
Merge branch 'for-next'
tiwai Sep 2, 2024
a505fe2
Merge branch 'for-next'
tiwai Sep 2, 2024
23735b6
Merge branch 'for-next'
tiwai Sep 2, 2024
b483636
Merge branch 'for-next'
tiwai Sep 3, 2024
5e8c88b
Merge branch 'for-linus'
tiwai Sep 4, 2024
9bdc506
Merge branch 'for-linus'
tiwai Sep 5, 2024
c56c18d
Merge branch 'for-linus'
tiwai Sep 6, 2024
fa350b1
Merge branch 'for-next'
tiwai Sep 6, 2024
78b28a6
Merge branch 'for-next'
tiwai Sep 7, 2024
fdcb90e
Merge branch 'for-next'
tiwai Sep 8, 2024
9c277a7
Merge branch 'for-next'
tiwai Sep 9, 2024
5001a4c
Merge branch 'for-next'
tiwai Sep 10, 2024
1ed61ca
Merge branch 'for-next'
tiwai Sep 10, 2024
0138a88
Merge branch 'for-next'
tiwai Sep 11, 2024
2c237fd
Merge branch 'for-next'
tiwai Sep 11, 2024
03971ff
Merge branch 'for-next'
tiwai Sep 11, 2024
d2af731
Merge branch 'for-next'
tiwai Sep 12, 2024
df9ecf4
Merge branch 'for-next'
tiwai Sep 12, 2024
f58bd8f
Merge branch 'for-next'
tiwai Sep 13, 2024
5c2f6a2
Merge branch 'for-linus'
tiwai Sep 14, 2024
5f9d43a
Merge branch 'for-next'
tiwai Sep 14, 2024
084418c
Merge branch 'for-next'
tiwai Sep 14, 2024
1922e73
Merge branch 'for-linus'
tiwai Sep 18, 2024
24c8b7b
Merge branch 'for-linus'
tiwai Sep 20, 2024
ae3f9db
Merge branch 'for-linus'
tiwai Sep 30, 2024
83ebdbe
Merge branch 'for-linus'
tiwai Sep 30, 2024
5ec7c10
Merge branch 'for-linus'
tiwai Oct 1, 2024
ecfd111
Merge branch 'for-linus'
tiwai Oct 2, 2024
94a063b
Merge branch 'for-linus'
tiwai Oct 2, 2024
22f463e
Merge branch 'for-linus'
tiwai Oct 2, 2024
e77a5d1
Merge branch 'for-linus'
tiwai Oct 2, 2024
044d659
Merge branch 'for-linus'
tiwai Oct 2, 2024
0d4e73a
Merge branch 'for-linus'
tiwai Oct 2, 2024
c14f930
Merge branch 'for-linus'
tiwai Oct 3, 2024
0963585
Merge branch 'for-linus'
tiwai Oct 4, 2024
ebd7e3d
Merge branch 'for-linus'
tiwai Oct 4, 2024
c4bb4d0
Merge branch 'for-linus'
tiwai Oct 8, 2024
485e8a1
Merge branch 'for-next'
tiwai Oct 8, 2024
b00d3cd
Merge branch 'for-linus'
tiwai Oct 9, 2024
c0c5386
Merge branch 'for-linus'
tiwai Oct 10, 2024
30d993f
Merge branch 'for-next'
tiwai Oct 10, 2024
a58280c
Merge branch 'for-linus'
tiwai Oct 10, 2024
00ecfb4
Merge branch 'for-next'
tiwai Oct 11, 2024
3a0e3cc
Merge branch 'for-linus'
tiwai Oct 11, 2024
2b56817
Merge branch 'for-linus'
tiwai Oct 11, 2024
8d1d6a5
Merge branch 'for-linus'
tiwai Oct 14, 2024
4fed931
Merge branch 'for-next'
tiwai Oct 14, 2024
ba7af55
Merge branch 'for-linus'
tiwai Oct 15, 2024
976904d
Merge branch 'for-linus'
tiwai Oct 16, 2024
f84ce47
Merge branch 'for-linus'
tiwai Oct 21, 2024
db0dbca
Merge branch 'for-linus'
tiwai Oct 23, 2024
9c90dd6
Merge branch 'for-linus'
tiwai Oct 24, 2024
424c1b6
Merge branch 'for-linus'
tiwai Oct 25, 2024
d5dcda0
Merge branch 'for-next'
tiwai Oct 25, 2024
583e8f7
Merge branch 'for-next'
tiwai Oct 28, 2024
0db6fd3
Merge branch 'for-linus'
tiwai Oct 29, 2024
1f87b9a
Merge branch 'for-next'
tiwai Oct 29, 2024
cd92502
Merge branch 'for-linus'
tiwai Oct 30, 2024
e7ea8fd
Merge branch 'for-next'
tiwai Oct 30, 2024
2df0319
Merge branch 'for-linus'
tiwai Oct 31, 2024
501b631
Merge branch 'for-linus'
tiwai Nov 4, 2024
dc84ba4
Merge branch 'for-linus'
tiwai Nov 4, 2024
dee05ab
Merge branch 'for-next'
tiwai Nov 4, 2024
1d6eaab
Merge branch 'for-next'
tiwai Nov 4, 2024
98ba120
Merge branch 'for-next'
tiwai Nov 5, 2024
64da40c
Merge branch 'for-next'
tiwai Nov 6, 2024
5e6a7e5
Merge branch 'for-linus'
tiwai Nov 8, 2024
21afbf1
Merge branch 'for-next'
tiwai Nov 8, 2024
c450cc1
Merge branch 'for-linus'
tiwai Nov 12, 2024
4d142ca
Merge branch 'for-linus'
tiwai Nov 12, 2024
23787de
Merge branch 'for-linus'
tiwai Nov 13, 2024
d64ca52
Merge branch 'for-linus'
tiwai Nov 13, 2024
1f0d132
Merge branch 'for-next'
tiwai Nov 13, 2024
3041e54
Merge branch 'for-next'
tiwai Nov 13, 2024
932816b
Merge branch 'for-next'
tiwai Nov 13, 2024
e331f9e
Merge branch 'for-next'
tiwai Nov 14, 2024
aa75ead
Merge branch 'for-linus'
tiwai Nov 14, 2024
2cc4efa
Merge branch 'for-next'
tiwai Nov 18, 2024
8178ddd
Merge branch 'for-next'
tiwai Nov 18, 2024
ebd6a19
Merge branch 'for-linus'
tiwai Nov 20, 2024
f871256
Merge branch 'for-linus'
tiwai Nov 20, 2024
cc65064
Merge branch 'for-linus'
tiwai Nov 21, 2024
2bb40a1
Merge branch 'for-linus'
tiwai Nov 24, 2024
3aab0c1
Merge branch 'for-linus'
tiwai Nov 25, 2024
95e4868
Merge branch 'for-linus'
tiwai Nov 25, 2024
7f1a8ce
Merge branch 'for-linus'
tiwai Nov 26, 2024
49b18b8
Merge branch 'for-linus'
tiwai Nov 26, 2024
6dbc04f
Merge branch 'for-linus'
tiwai Nov 26, 2024
42b234b
Merge branch 'for-linus'
tiwai Nov 26, 2024
024db3e
Merge branch 'for-linus'
tiwai Nov 26, 2024
1d5ef77
Merge branch 'for-linus'
tiwai Nov 27, 2024
a77bd67
Merge branch 'for-linus'
tiwai Nov 28, 2024
daae0a4
Merge branch 'for-linus'
tiwai Nov 28, 2024
a31c9e7
Merge branch 'for-linus'
tiwai Nov 28, 2024
49cbead
Merge branch 'for-linus'
tiwai Nov 29, 2024
04f10b0
Merge branch 'for-linus'
tiwai Nov 29, 2024
f188aa6
Merge branch 'for-linus'
tiwai Nov 30, 2024
029fa38
Merge branch 'for-linus'
tiwai Dec 1, 2024
00338a4
Merge branch 'for-linus'
tiwai Dec 2, 2024
d81d2a1
Merge branch 'for-next'
tiwai Dec 2, 2024
676119f
Merge branch 'for-linus'
tiwai Dec 2, 2024
39c6a28
Merge branch 'for-next'
tiwai Dec 3, 2024
3297469
Merge branch 'for-next'
tiwai Dec 3, 2024
ac14fee
Merge branch 'for-next'
tiwai Dec 5, 2024
46af082
Merge branch 'for-linus'
tiwai Dec 5, 2024
296fba6
Merge branch 'for-linus'
tiwai Dec 5, 2024
a8d36d6
Merge branch 'for-next'
tiwai Dec 5, 2024
535e608
Merge branch 'for-linus'
tiwai Dec 6, 2024
053a897
Merge branch 'for-linus'
tiwai Dec 6, 2024
5795705
Merge branch 'for-next'
tiwai Dec 6, 2024
b9a7dcd
Merge branch 'for-linus'
tiwai Dec 7, 2024
cb54e69
Merge branch 'for-linus'
tiwai Dec 9, 2024
e68ec06
Merge branch 'for-linus'
tiwai Dec 9, 2024
e53f4e7
Merge branch 'for-linus'
tiwai Dec 10, 2024
ca8a4b3
Merge branch 'for-linus'
tiwai Dec 12, 2024
1e835e3
Merge branch 'for-next'
tiwai Dec 12, 2024
47a5a0b
Merge branch 'for-linus'
tiwai Dec 20, 2024
da6a706
Merge branch 'for-next'
tiwai Dec 20, 2024
641399f
Merge branch 'for-linus'
tiwai Dec 20, 2024
a45d8c5
Merge branch 'for-linus'
tiwai Dec 20, 2024
7d2c2ea
Merge branch 'for-linus'
tiwai Dec 20, 2024
1ae5a58
Merge branch 'for-next'
tiwai Dec 22, 2024
5a5c95f
Merge branch 'for-next'
tiwai Dec 29, 2024
ffe7557
Merge branch 'for-linus'
tiwai Dec 29, 2024
6879aec
Merge branch 'for-linus'
tiwai Dec 30, 2024
088d6f4
Merge branch 'for-linus'
tiwai Dec 30, 2024
5307657
Merge branch 'for-linus'
tiwai Dec 30, 2024
95f5b1e
Merge branch 'for-next'
tiwai Dec 30, 2024
70d0b05
Merge branch 'for-linus'
tiwai Dec 31, 2024
c21217a
Merge branch 'for-next'
tiwai Dec 31, 2024
ca1db54
Merge branch 'for-linus'
tiwai Dec 31, 2024
7961a3d
Merge branch 'for-next'
tiwai Jan 1, 2025
eece324
Merge branch 'for-next'
tiwai Jan 7, 2025
35c2d4f
Merge branch 'for-next'
tiwai Jan 7, 2025
a5cbacf
Merge branch 'for-next'
tiwai Jan 8, 2025
5642b5d
Merge branch 'for-next'
tiwai Jan 9, 2025
183ee54
Merge branch 'for-linus'
tiwai Jan 10, 2025
d04d90d
Merge branch 'for-next'
tiwai Jan 10, 2025
89be308
Merge branch 'for-linus'
tiwai Jan 10, 2025
9442ed2
Merge branch 'for-next'
tiwai Jan 10, 2025
79248c0
Merge branch 'for-linus'
tiwai Jan 12, 2025
8b0b6c8
Merge branch 'for-next'
tiwai Jan 12, 2025
89eab93
Merge branch 'for-linus'
tiwai Jan 13, 2025
cb76306
Merge branch 'for-next'
tiwai Jan 14, 2025
1d7469f
Merge branch 'for-next'
tiwai Jan 14, 2025
27d7060
Merge branch 'for-linus'
tiwai Jan 15, 2025
5dfc2fe
Merge branch 'for-next'
tiwai Jan 15, 2025
988f2e6
Merge branch 'for-linus'
tiwai Jan 15, 2025
8d153cd
Merge branch 'for-next'
tiwai Jan 15, 2025
7fc9bb1
Merge branch 'for-linus'
tiwai Jan 17, 2025
13c897f
Merge branch 'for-next'
tiwai Jan 17, 2025
cbd9fc5
Merge branch 'for-linus'
tiwai Jan 18, 2025
09c90fb
Merge branch 'for-next'
tiwai Jan 18, 2025
2b02297
Merge branch 'for-next'
tiwai Jan 20, 2025
d4b5c15
Merge branch 'for-next'
tiwai Jan 20, 2025
7967cec
Merge branch 'for-next'
tiwai Jan 20, 2025
a742d97
Merge branch 'for-linus'
tiwai Jan 20, 2025
2ea487b
Merge branch 'for-linus'
tiwai Jan 20, 2025
99fe100
Merge branch 'for-linus'
tiwai Jan 20, 2025
bbf936e
Merge branch 'for-linus'
tiwai Jan 21, 2025
81dff9c
Merge branch 'for-linus'
tiwai Jan 22, 2025
aa90d55
Merge branch 'for-linus'
tiwai Jan 22, 2025
f343cc9
Merge branch 'for-linus'
tiwai Jan 25, 2025
c2a660c
Merge branch 'for-linus'
tiwai Jan 26, 2025
5964256
Merge branch 'for-linus'
tiwai Jan 28, 2025
5466088
Merge branch 'for-linus'
tiwai Jan 28, 2025
051db51
Merge branch 'for-linus'
tiwai Jan 29, 2025
aa84eb7
Merge branch 'for-linus'
tiwai Jan 30, 2025
76b0a22
ALSA: hda/realtek: Limit mic boost on Positivo ARN50
drosdeck Feb 1, 2025
8744b49
Merge branch 'for-linus'
tiwai Feb 5, 2025
e8d04a9
ALSA: lola: Remove unused lola_(save|restore)_mixer
Jan 22, 2025
1b0e9d7
ALSA: hda/hdmi: extract common interface for ELD handling
lumag Jan 24, 2025
0ecd24a
ASoC: hdmi-codec: dump ELD through procfs
lumag Jan 24, 2025
480bc02
Merge branch 'for-next'
tiwai Feb 5, 2025
1d5efdd
ALSA: docs: Fix typo
jwilk Jan 30, 2025
de7d2a7
ALSA: docs: Fix module paths in /sys
jwilk Jan 30, 2025
65e58fa
Merge branch 'for-next'
tiwai Feb 5, 2025
a1f7b7f
PCI: pci_ids: add INTEL_HDA_PTL_H
plbossart Feb 10, 2025
214e6be
ALSA: hda: intel-dsp-config: Add PTL-H support
plbossart Feb 10, 2025
4e9c87c
ASoC: SOF: Intel: pci-ptl: Add support for PTL-H
ujfalusi Feb 10, 2025
d7e2447
ALSA: hda: hda-intel: add Panther Lake-H support
plbossart Feb 10, 2025
2e9bd9e
Merge branch 'for-linus'
tiwai Feb 10, 2025
70e9068
ALSA: Switch to use hrtimer_setup()
covanam Feb 5, 2025
9db2b0f
Merge branch 'for-linus'
tiwai Feb 10, 2025
2b360ba
ALSA: hda: intel: Fix Optimus when GPU has no sound
gentoo-root Feb 8, 2025
becc794
ALSA: hda: intel: Add Lenovo IdeaPad Z570 to probe denylist
gentoo-root Feb 8, 2025
dd06ad9
Merge branch 'for-next'
tiwai Feb 10, 2025
2afd96a
ALSA: hda/tas2781: Update tas2781 hda SPI driver
jimxbj-dot Feb 11, 2025
174448b
ALSA: hda/realtek: Fixup ALC225 depop procedure
KailangYang Feb 12, 2025
87c1561
Merge branch 'for-linus'
tiwai Feb 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Documentation/sound/alsa-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ debug
2 = verbose debug messages);
This option appears only when ``CONFIG_SND_DEBUG=y``.
This option can be dynamically changed via sysfs
/sys/modules/snd/parameters/debug file.
/sys/module/snd/parameters/debug file.

Module snd-pcm-oss
------------------
Expand Down
6 changes: 3 additions & 3 deletions Documentation/sound/designs/powersave.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ operations.
The ``power_save`` option is exported as writable. This means you can
adjust the value via sysfs on the fly. For example, to turn on the
automatic power-save mode with 10 seconds, write to
``/sys/modules/snd_ac97_codec/parameters/power_save`` (usually as root):
``/sys/module/snd_ac97_codec/parameters/power_save`` (usually as root):
::

# echo 10 > /sys/modules/snd_ac97_codec/parameters/power_save
# echo 10 > /sys/module/snd_ac97_codec/parameters/power_save


Note that you might hear click noise/pop when changing the power
state. Also, it often takes certain time to wake up from the
power-down to the active state. These are often hardly to fix, so
power-down to the active state. These are often hard to fix, so
don't report extra bug reports unless you have a fix patch ;-)

For HD-audio interface, there is another module option,
Expand Down
1 change: 1 addition & 0 deletions include/linux/pci_ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -3134,6 +3134,7 @@
#define PCI_DEVICE_ID_INTEL_HDA_LNL_P 0xa828
#define PCI_DEVICE_ID_INTEL_S21152BB 0xb152
#define PCI_DEVICE_ID_INTEL_HDA_BMG 0xe2f7
#define PCI_DEVICE_ID_INTEL_HDA_PTL_H 0xe328
#define PCI_DEVICE_ID_INTEL_HDA_PTL 0xe428
#define PCI_DEVICE_ID_INTEL_HDA_CML_R 0xf0c8
#define PCI_DEVICE_ID_INTEL_HDA_RKL_S 0xf1c8
Expand Down
91 changes: 91 additions & 0 deletions include/sound/pcm_drm_eld.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,97 @@
#ifndef __SOUND_PCM_DRM_ELD_H
#define __SOUND_PCM_DRM_ELD_H

enum eld_versions {
ELD_VER_CEA_861D = 2,
ELD_VER_PARTIAL = 31,
};

enum cea_audio_coding_types {
AUDIO_CODING_TYPE_REF_STREAM_HEADER = 0,
AUDIO_CODING_TYPE_LPCM = 1,
AUDIO_CODING_TYPE_AC3 = 2,
AUDIO_CODING_TYPE_MPEG1 = 3,
AUDIO_CODING_TYPE_MP3 = 4,
AUDIO_CODING_TYPE_MPEG2 = 5,
AUDIO_CODING_TYPE_AACLC = 6,
AUDIO_CODING_TYPE_DTS = 7,
AUDIO_CODING_TYPE_ATRAC = 8,
AUDIO_CODING_TYPE_SACD = 9,
AUDIO_CODING_TYPE_EAC3 = 10,
AUDIO_CODING_TYPE_DTS_HD = 11,
AUDIO_CODING_TYPE_MLP = 12,
AUDIO_CODING_TYPE_DST = 13,
AUDIO_CODING_TYPE_WMAPRO = 14,
AUDIO_CODING_TYPE_REF_CXT = 15,
/* also include valid xtypes below */
AUDIO_CODING_TYPE_HE_AAC = 15,
AUDIO_CODING_TYPE_HE_AAC2 = 16,
AUDIO_CODING_TYPE_MPEG_SURROUND = 17,
};

enum cea_audio_coding_xtypes {
AUDIO_CODING_XTYPE_HE_REF_CT = 0,
AUDIO_CODING_XTYPE_HE_AAC = 1,
AUDIO_CODING_XTYPE_HE_AAC2 = 2,
AUDIO_CODING_XTYPE_MPEG_SURROUND = 3,
AUDIO_CODING_XTYPE_FIRST_RESERVED = 4,
};

/*
* CEA Short Audio Descriptor data
*/
struct snd_cea_sad {
int channels;
int format; /* (format == 0) indicates invalid SAD */
int rates;
int sample_bits; /* for LPCM */
int max_bitrate; /* for AC3...ATRAC */
int profile; /* for WMAPRO */
};

#define ELD_FIXED_BYTES 20
#define ELD_MAX_SIZE 256
#define ELD_MAX_MNL 16
#define ELD_MAX_SAD 16

#define ELD_PCM_BITS_8 BIT(0)
#define ELD_PCM_BITS_16 BIT(1)
#define ELD_PCM_BITS_20 BIT(2)
#define ELD_PCM_BITS_24 BIT(3)
#define ELD_PCM_BITS_32 BIT(4)

/*
* ELD: EDID Like Data
*/
struct snd_parsed_hdmi_eld {
/*
* all fields will be cleared before updating ELD
*/
int baseline_len;
int eld_ver;
int cea_edid_ver;
char monitor_name[ELD_MAX_MNL + 1];
int manufacture_id;
int product_id;
u64 port_id;
int support_hdcp;
int support_ai;
int conn_type;
int aud_synch_delay;
int spk_alloc;
int sad_count;
struct snd_cea_sad sad[ELD_MAX_SAD];
};

int snd_pcm_hw_constraint_eld(struct snd_pcm_runtime *runtime, void *eld);

int snd_parse_eld(struct device *dev, struct snd_parsed_hdmi_eld *e,
const unsigned char *buf, int size);
void snd_show_eld(struct device *dev, struct snd_parsed_hdmi_eld *e);

#ifdef CONFIG_SND_PROC_FS
void snd_print_eld_info(struct snd_parsed_hdmi_eld *eld,
struct snd_info_buffer *buffer);
#endif

#endif
3 changes: 1 addition & 2 deletions sound/core/hrtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ static int snd_hrtimer_open(struct snd_timer *t)
stime = kzalloc(sizeof(*stime), GFP_KERNEL);
if (!stime)
return -ENOMEM;
hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
stime->timer = t;
stime->hrt.function = snd_hrtimer_callback;
hrtimer_setup(&stime->hrt, snd_hrtimer_callback, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
t->private_data = stime;
return 0;
}
Expand Down
Loading