diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-04-24 13:03:39 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-04-24 13:03:39 +0200 |
commit | 525b311bf869d7e252d744e501e227263a955c8e (patch) | |
tree | 4c644f534e5b577b9256d26b1e9a2e4a0453698e /target/linux/brcm2708/patches-4.4/0251-bcm2835-log-which-channel-map-is-set.patch | |
parent | 0ab31bfced9666f3fb58acdb5833a93e4f4f5f7e (diff) | |
download | upstream-525b311bf869d7e252d744e501e227263a955c8e.tar.gz upstream-525b311bf869d7e252d744e501e227263a955c8e.tar.bz2 upstream-525b311bf869d7e252d744e501e227263a955c8e.zip |
brcm2708: update linux 4.4 patches to latest version
As usual these patches were extracted from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0251-bcm2835-log-which-channel-map-is-set.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0251-bcm2835-log-which-channel-map-is-set.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0251-bcm2835-log-which-channel-map-is-set.patch b/target/linux/brcm2708/patches-4.4/0251-bcm2835-log-which-channel-map-is-set.patch new file mode 100644 index 0000000000..c9bb1d3769 --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0251-bcm2835-log-which-channel-map-is-set.patch @@ -0,0 +1,32 @@ +From 0307b1dc72eb904e3e81b82050070e8bcfec6e01 Mon Sep 17 00:00:00 2001 +From: wm4 <wm4@nowhere> +Date: Tue, 19 Apr 2016 16:38:03 +0200 +Subject: [PATCH 251/304] bcm2835: log which channel map is set + +--- + sound/arm/bcm2835-vchiq.c | 5 +++++ + 1 file changed, 5 insertions(+) + +--- a/sound/arm/bcm2835-vchiq.c ++++ b/sound/arm/bcm2835-vchiq.c +@@ -596,8 +596,11 @@ int bcm2835_audio_set_params(bcm2835_als + instance->result = -1; + + if (alsa_stream->chip->cea_chmap >= 0) { ++ LOG_INFO("Using application requested channel map: %d\n", ++ alsa_stream->chip->cea_chmap); + chmap_value = (unsigned)alsa_stream->chip->cea_chmap << 24; + } else { ++ LOG_INFO("Using fallback channel map.\n"); + /* fallback layouts for applications which do not use chmap API */ + chmap_value = 0x00; + switch (channels) { +@@ -614,6 +617,8 @@ int bcm2835_audio_set_params(bcm2835_als + for (i = 0; i < 8; i++) + chmap_value |= alsa_stream->chip->map_channels[i] << (i * 3); + ++ LOG_INFO("Requesting AUDS channel map: 0x%lx\n", (long)chmap_value); ++ + m.type = VC_AUDIO_MSG_TYPE_CONFIG; + m.u.config.channels = channels; + m.u.config.samplerate = samplerate; |