From 44f6f4f45d3c186575009fe80d1eb353e5038ecb Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Fri, 14 Feb 2014 19:00:19 +0200 Subject: [PATCH] update RPi patch. fixes build after 642540a --- .../linux/linux-01-RPi_support-0bb9f12.patch | 563 +++++++++++------- 1 file changed, 355 insertions(+), 208 deletions(-) diff --git a/projects/RPi/patches/linux/linux-01-RPi_support-0bb9f12.patch b/projects/RPi/patches/linux/linux-01-RPi_support-0bb9f12.patch index 16709f3fd3..deb88d0e5d 100644 --- a/projects/RPi/patches/linux/linux-01-RPi_support-0bb9f12.patch +++ b/projects/RPi/patches/linux/linux-01-RPi_support-0bb9f12.patch @@ -1,7 +1,7 @@ -From 5220fae6e19400096331585696e74b55672bcc97 Mon Sep 17 00:00:00 2001 +From 1f812580c0379c4c9beaf2edb2fd37b2bf79c9ca Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 001/101] Main bcm2708 linux port +Subject: [PATCH 001/104] Main bcm2708 linux port Signed-off-by: popcornmix --- @@ -8562,10 +8562,10 @@ index 362927c4..e23fffb 100644 1.8.5.1 -From fe933bed7bd0991a49b95c905ff5b0d52b93da0c Mon Sep 17 00:00:00 2001 +From e88053f7840141c2e06f13d66388b0c6695adda8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 7 May 2013 22:20:24 +0100 -Subject: [PATCH 002/101] Add quick config. +Subject: [PATCH 002/104] Add quick config. This is designed for quick compiling when developing. No modules are needed and it includes all Pi specific drivers @@ -8781,10 +8781,10 @@ index 0000000..e5efe75 1.8.5.1 -From 247dbdc83579ab49ed03de34d69808bc93285d1b Mon Sep 17 00:00:00 2001 +From c2da5e7113151f2ac284d829e53374f0a7fbc884 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 003/101] Add dwc_otg driver +Subject: [PATCH 003/104] Add dwc_otg driver Signed-off-by: popcornmix --- @@ -65856,10 +65856,10 @@ index 0000000..cdc9963 1.8.5.1 -From 739fd0b4ff49722674dfe8fd00c5bf22db80fc64 Mon Sep 17 00:00:00 2001 +From b3bdb85694ccffc2ae992af4f5f1258122e9a941 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:54:32 +0100 -Subject: [PATCH 004/101] bcm2708 watchdog driver +Subject: [PATCH 004/104] bcm2708 watchdog driver Signed-off-by: popcornmix --- @@ -66292,10 +66292,10 @@ index 0000000..2f19203 1.8.5.1 -From bd5a02f9a5591c3104f8911f08cb1dbb66e21838 Mon Sep 17 00:00:00 2001 +From 17015767c052cc2e39e95df9367363d6c3d39976 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:55:09 +0100 -Subject: [PATCH 005/101] bcm2708 framebuffer driver +Subject: [PATCH 005/104] bcm2708 framebuffer driver Signed-off-by: popcornmix --- @@ -69334,10 +69334,10 @@ index 3c14e43..7626beb 100644 1.8.5.1 -From b6b336a3959926265990d2e8767c769e7f86625a Mon Sep 17 00:00:00 2001 +From f001f353e21c972e1d85e91ebcdf28ee6bb97868 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 006/101] bcm2708 vchiq driver +Subject: [PATCH 006/104] bcm2708 vchiq driver Signed-off-by: popcornmix --- @@ -81838,10 +81838,10 @@ index 0000000..b6bfa21 1.8.5.1 -From 7fe168a7f36649594d164f23489c8ce10cf4027e Mon Sep 17 00:00:00 2001 +From 8ef0bc2eeaa6f8497775a1ae133a455a330cba2c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 007/101] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 007/104] cma: Add vc_cma driver to enable use of CMA Signed-off-by: popcornmix --- @@ -83131,10 +83131,10 @@ index 0000000..5325832 1.8.5.1 -From 3a937f0cb34a6179ee5415d345bcaa6597d1d7b7 Mon Sep 17 00:00:00 2001 +From d06c9404a5bce1896099cebb0b824fd685ecc568 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 008/101] bcm2708: alsa sound driver +Subject: [PATCH 008/104] bcm2708: alsa sound driver Signed-off-by: popcornmix --- @@ -85456,10 +85456,10 @@ index 0000000..af3e6eb 1.8.5.1 -From 22d2b2c8ab6e0d41dd0bd094f4649e498bc49a5e Mon Sep 17 00:00:00 2001 +From 972d2f082e7632e7ec834aca6a29317d10183f3f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 009/101] Allow mac address to be set in smsc95xx +Subject: [PATCH 009/104] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -85553,10 +85553,10 @@ index 3f38ba8..60076fe 100644 1.8.5.1 -From 62690517481edab4b066d2d1c9553d583eb725e0 Mon Sep 17 00:00:00 2001 +From 143236b020cec2798dca6a1f3752a5a6a05388d2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 8 May 2012 23:12:13 +0100 -Subject: [PATCH 010/101] Fixes for sdhci-bcm2708 +Subject: [PATCH 010/104] Fixes for sdhci-bcm2708 possible fix for sdcard missing status. Thank naren @@ -85656,7 +85656,7 @@ remove suspend/resume 7 files changed, 363 insertions(+), 190 deletions(-) diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c -index 29d5d98..6e305ac 100644 +index 7b5424f..687cccb 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -1361,7 +1361,7 @@ static void mmc_blk_rw_rq_prep(struct mmc_queue_req *mqrq, @@ -85669,10 +85669,10 @@ index 29d5d98..6e305ac 100644 * token, not a STOP_TRANSMISSION request. */ diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c -index 6f42050..bb14f63 100644 +index 692fdb1..897cea6 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c -@@ -14,6 +14,8 @@ +@@ -15,6 +15,8 @@ #include #include #include @@ -85681,7 +85681,7 @@ index 6f42050..bb14f63 100644 #include #include -@@ -59,6 +61,15 @@ +@@ -67,6 +69,15 @@ __res & __mask; \ }) @@ -85697,7 +85697,7 @@ index 6f42050..bb14f63 100644 /* * Given the decoded CSD structure, decode the raw CID to our CID structure. */ -@@ -211,12 +222,63 @@ static int mmc_decode_scr(struct mmc_card *card) +@@ -219,12 +230,63 @@ static int mmc_decode_scr(struct mmc_card *card) } /* @@ -85757,12 +85757,12 @@ index 6f42050..bb14f63 100644 { + unsigned long timeout_at; unsigned int au, es, et, eo; - int err, i, max_au; -+ int tries; + int err, i; ++ int tries; u32 *ssr; if (!(card->csd.cmdclass & CCC_APP_SPEC)) { -@@ -229,14 +291,40 @@ static int mmc_read_ssr(struct mmc_card *card) +@@ -237,14 +299,40 @@ static int mmc_read_ssr(struct mmc_card *card) if (!ssr) return -ENOMEM; @@ -85808,7 +85808,7 @@ index 6f42050..bb14f63 100644 for (i = 0; i < 16; i++) ssr[i] = be32_to_cpu(ssr[i]); -@@ -819,14 +907,10 @@ int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card, +@@ -826,14 +914,10 @@ int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card, if (!reinit) { /* @@ -86808,10 +86808,10 @@ index e23fffb..b1b6537 100644 1.8.5.1 -From 7bd97decf3e2c112e16bf2afc73a33984dbd11fd Mon Sep 17 00:00:00 2001 +From 7107ef8966b27ad895c608156af8e74773c94322 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 4 Nov 2013 18:56:10 +0000 -Subject: [PATCH 011/101] Add Chris Boot's i2c and spi drivers. +Subject: [PATCH 011/104] Add Chris Boot's i2c and spi drivers. --- arch/arm/configs/bcmrpi_cutdown_defconfig | 9 + @@ -88175,10 +88175,10 @@ index 0000000..180264a 1.8.5.1 -From 98a1475d42e627b14ca940a3fff051b7a96379b9 Mon Sep 17 00:00:00 2001 +From fde085753fe04b9905eacb9e3709bd8770dd06dc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 012/101] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 012/104] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) --- @@ -88241,10 +88241,10 @@ index 63b8273..2a36411 100644 1.8.5.1 -From 21318d111cd40e233f9f3773d125c8100118dd6b Mon Sep 17 00:00:00 2001 +From 3b34d2a49827328b4510ab6e2457d9c255e57c1c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:46:42 +0100 -Subject: [PATCH 013/101] Add FIQ patch to dwc_otg driver. Enable with +Subject: [PATCH 013/104] Add FIQ patch to dwc_otg driver. Enable with dwc_otg.fiq_fix_enable=1. Should give about 10% more ARM performance. Thanks to Gordon and Costas @@ -89404,10 +89404,10 @@ index e46d9bb..6b2c7d0 100644 1.8.5.1 -From c365885cb7dd112098dd3e392ee450853a087ede Mon Sep 17 00:00:00 2001 +From 1e6c69c718646bd62dd18c169be1141b08fb1ef3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 8 Sep 2012 15:17:53 +0100 -Subject: [PATCH 016/101] Avoid dynamic memory allocation for channel lock in +Subject: [PATCH 016/104] Avoid dynamic memory allocation for channel lock in USB driver. Thanks ddv2005. --- @@ -89514,10 +89514,10 @@ index b7b6b0c..76b5085 100644 1.8.5.1 -From 0f7ac77e4b426acdc8b362563ba281323bc11f47 Mon Sep 17 00:00:00 2001 +From ef229a6e0acdce0fd487fc428f26fd217943dfba Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 017/101] Add cpufreq driver +Subject: [PATCH 017/104] Add cpufreq driver --- arch/arm/Kconfig | 1 + @@ -89819,10 +89819,10 @@ index 0000000..7bc55bd 1.8.5.1 -From 3cfb1548d1bfea92647973988e1306124b02b540 Mon Sep 17 00:00:00 2001 +From 472ea9b1077b0f4f3653da4075315314def96053 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Apr 2013 23:58:47 +0100 -Subject: [PATCH 018/101] config: add missing options from 3.6.y kernel +Subject: [PATCH 018/104] config: add missing options from 3.6.y kernel --- arch/arm/configs/bcmrpi_defconfig | 741 ++++++++++++++++++++++++++++++++------ @@ -90858,10 +90858,10 @@ index 31f5afaa..31adf3c 100644 1.8.5.1 -From c79d6e1f2d29446131d0dc5f4926caacde6534fe Mon Sep 17 00:00:00 2001 +From 5590291d0c7761f2a67c59460deb00b70ca5537a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 8 Apr 2013 21:12:48 +0100 -Subject: [PATCH 019/101] Add NAK holdoff scheme. Enabled by default, disable +Subject: [PATCH 019/104] Add NAK holdoff scheme. Enabled by default, disable with dwc_otg.nak_holdoff_enable=0. Thanks gsh --- @@ -91071,10 +91071,10 @@ index a9dea55..ebee73a 100644 1.8.5.1 -From e8b133b94c691d3d97b28de11bbd9c687a7b2533 Mon Sep 17 00:00:00 2001 +From 80b5fb53ce772196781e1ff1f1d1cdf289318b3d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 020/101] Added hwmon/thermal driver for reporting core +Subject: [PATCH 020/104] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian --- @@ -91622,10 +91622,10 @@ index 0000000..3f9a733 1.8.5.1 -From a148027d77a60ebdc99dfeb0e2996260708a06e9 Mon Sep 17 00:00:00 2001 +From c1895ad01b34056bf2dc144f57eb1c88a3c94d6a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Apr 2013 12:16:36 +0100 -Subject: [PATCH 021/101] Enable multiple ALSA channels +Subject: [PATCH 021/104] Enable multiple ALSA channels --- arch/arm/mach-bcm2708/bcm2708.c | 54 ++++++++++++++++++++++++++++++++++++----- @@ -91700,10 +91700,10 @@ index 8b6ff52..b4d94bf 100644 1.8.5.1 -From f6fd495ae375b91675a54d1b657fde76a2f1298b Mon Sep 17 00:00:00 2001 +From cde076912c8a0cc16d5674e4ee78f0082d8a9114 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Sun, 4 Nov 2012 15:55:01 +0000 -Subject: [PATCH 022/101] Make sure we wait for the reset to finish +Subject: [PATCH 022/104] Make sure we wait for the reset to finish --- drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 2 ++ @@ -91726,10 +91726,10 @@ index aff59df..1a23d4b 100644 1.8.5.1 -From bb3b6d02ea3bd8625c51aadec4b4c1bd0801fdb7 Mon Sep 17 00:00:00 2001 +From ac63df73b27c39c5901a71be0dd42ae14b69a1d9 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 023/101] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 023/104] lirc: added support for RaspberryPi GPIO --- drivers/staging/media/lirc/Kconfig | 6 + @@ -92470,10 +92470,10 @@ index 0000000..c76f696 1.8.5.1 -From 07da2aaf38f9f0737c3dc9cd3d30a4cbf8fdaefc Mon Sep 17 00:00:00 2001 +From c549b00c3c488ebc298e4cf3a22e2838622aaf85 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 11 Dec 2012 18:23:03 +0000 -Subject: [PATCH 024/101] Default to dwc_otp.lpm_enable=0 +Subject: [PATCH 024/104] Default to dwc_otp.lpm_enable=0 --- drivers/usb/host/dwc_otg/dwc_otg_driver.c | 2 +- @@ -92496,10 +92496,10 @@ index d58ebd7..c2bb596 100644 1.8.5.1 -From 1a34b1acd1d092cf1e13e5bac481ee419f976ea4 Mon Sep 17 00:00:00 2001 +From e39be26586764d47374cfe26e29b5d81ec9c1c94 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 9 Jan 2013 16:12:04 +0000 -Subject: [PATCH 025/101] dwc_otg: fix bug in dwc_otg_hcd.c resulting in silent +Subject: [PATCH 025/104] dwc_otg: fix bug in dwc_otg_hcd.c resulting in silent kernel memory corruption, escalating to OOPS under high USB load. --- @@ -92536,10 +92536,10 @@ index ebee73a..b3efaf4 100644 1.8.5.1 -From 96597171ccbe1c5e0e31d3bfa070acf3841e6ba7 Mon Sep 17 00:00:00 2001 +From 0b2e7460e1c8fb52a6b0b0137530c04346cd94fe Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:51:55 +0100 -Subject: [PATCH 026/101] Add hwrng (hardware random number generator) driver +Subject: [PATCH 026/104] Add hwrng (hardware random number generator) driver --- arch/arm/mach-bcm2708/include/mach/platform.h | 1 + @@ -92720,10 +92720,10 @@ index 0000000..1ffa7d7 1.8.5.1 -From eb9ad63adba4fc458d11b2b4e4a8c8ec210349f9 Mon Sep 17 00:00:00 2001 +From 4fc73e35565dc78b6d820347a614f5475e23a513 Mon Sep 17 00:00:00 2001 From: Technion Date: Mon, 11 Feb 2013 22:08:53 +1100 -Subject: [PATCH 027/101] Changed wording on logging. Previously, we received +Subject: [PATCH 027/104] Changed wording on logging. Previously, we received errors like this: mmc0: could read SD Status register (SSR) at the 3th attempt A more sensible response is now returned. A typo also fixed in comments. @@ -92733,10 +92733,10 @@ Subject: [PATCH 027/101] Changed wording on logging. Previously, we received 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c -index bb14f63..b66bd4c 100644 +index 897cea6..ea11f9c 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c -@@ -239,7 +239,7 @@ static int mmc_read_scr(struct mmc_card *card) +@@ -247,7 +247,7 @@ static int mmc_read_scr(struct mmc_card *card) err = mmc_app_send_scr(card, card->raw_scr); if( !err ) @@ -92745,7 +92745,7 @@ index bb14f63..b66bd4c 100644 touch_nmi_watchdog(); // we are still alive! -@@ -322,7 +322,7 @@ static int mmc_read_ssr(struct mmc_card *card) +@@ -330,7 +330,7 @@ static int mmc_read_ssr(struct mmc_card *card) if( tries > 1 ) { @@ -92758,10 +92758,10 @@ index bb14f63..b66bd4c 100644 1.8.5.1 -From 879e1263b2fa9659fc34b015074f2cd2461f68aa Mon Sep 17 00:00:00 2001 +From d58960a1b6989ebfe570d6143f0efb639cb90a7a Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 15 Feb 2013 22:36:47 +0000 -Subject: [PATCH 028/101] dwc_otg: Fix unsafe access of QTD during URB enqueue +Subject: [PATCH 028/104] dwc_otg: Fix unsafe access of QTD during URB enqueue In dwc_otg_hcd_urb_enqueue during qtd creation, it was possible that the transaction could complete almost immediately after the qtd was assigned @@ -92848,10 +92848,10 @@ index b3efaf4..1554be5 100644 1.8.5.1 -From 80fd4a0817d1c866c1ae8b58024e7e3270009640 Mon Sep 17 00:00:00 2001 +From 5c4dec8d702429cf200341a766e18b4f388ee890 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 15 Feb 2013 22:38:40 +0000 -Subject: [PATCH 029/101] dwc_otg: Fix incorrect URB allocation error handling +Subject: [PATCH 029/104] dwc_otg: Fix incorrect URB allocation error handling If the memory allocation for a dwc_otg_urb failed, the kernel would OOPS because for some reason a member of the *unallocated* struct was set to @@ -92892,10 +92892,10 @@ index 35d03d1..6fe30e3 100644 1.8.5.1 -From b2cb5f27ddd3f3f6f79632d44a46faebccac609d Mon Sep 17 00:00:00 2001 +From 92b885cca7af3ea1854260de4567a2aa297af384 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 24 Feb 2013 16:30:57 +0000 -Subject: [PATCH 030/101] Add retry on error and tidy of temperature driver +Subject: [PATCH 030/104] Add retry on error and tidy of temperature driver --- drivers/thermal/bcm2835-thermal.c | 78 ++++++++++++++------------------------- @@ -93022,10 +93022,10 @@ index 3f9a733..85fceb5 100644 1.8.5.1 -From f4e72c23df1d1f3bdaeac3428db5b61a246b5a6d Mon Sep 17 00:00:00 2001 +From a3fafeedc791fee74442171a5f41f84d1a3e1d4a Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 28 Feb 2013 16:52:51 +0000 -Subject: [PATCH 031/101] dwc_otg: fix potential use-after-free case in +Subject: [PATCH 031/104] dwc_otg: fix potential use-after-free case in interrupt handler If a transaction had previously aborted, certain interrupts are @@ -93057,10 +93057,10 @@ index 1a23d4b..7af455d 100644 1.8.5.1 -From 900c920e23f2aee93580dd6ff7c9eecc4647f26e Mon Sep 17 00:00:00 2001 +From 3c6243657b8b45c50278312525a3b45b4efd8b3f Mon Sep 17 00:00:00 2001 From: P33M Date: Sun, 3 Mar 2013 14:45:53 +0000 -Subject: [PATCH 032/101] dwc_otg: add handling of SPLIT transaction data +Subject: [PATCH 032/104] dwc_otg: add handling of SPLIT transaction data toggle errors Previously a data toggle error on packets from a USB1.1 device behind @@ -93115,10 +93115,10 @@ index 7af455d..a27dacd 100644 1.8.5.1 -From b917febef9d7c85fa193417284e8f9449fabd56d Mon Sep 17 00:00:00 2001 +From 82605784af95892e484ff69b8be9e32a0455112b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 21:14:28 +0100 -Subject: [PATCH 033/101] Add bitbanging pullups, use them for w1-gpio +Subject: [PATCH 033/104] Add bitbanging pullups, use them for w1-gpio Allows parasite power to work, uses module option pullup=1 --- @@ -93257,10 +93257,10 @@ index e10acc2..667fdd5 100644 1.8.5.1 -From 311c545291b356a22336b28bc1be8ed3dcb99b0b Mon Sep 17 00:00:00 2001 +From d1fca5b1c47f4b0a73e9871cdccb166cf4242500 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 21 Mar 2013 19:36:17 +0000 -Subject: [PATCH 034/101] dwc_otg: implement tasklet for returning URBs to +Subject: [PATCH 034/104] dwc_otg: implement tasklet for returning URBs to usbcore hcd layer The dwc_otg driver interrupt handler for transfer completion will spend @@ -93502,10 +93502,10 @@ index 2b4a14e..39787e3 100644 1.8.5.1 -From f9ce3c37fd9a888f0e0efe58d4fb248a3e9e08b8 Mon Sep 17 00:00:00 2001 +From bf94c45f5299eb4daf8c5b3e38be448fe6d34f3e Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 22 Apr 2013 00:08:36 +0100 -Subject: [PATCH 036/101] dwc_otg: fix NAK holdoff and allow on split +Subject: [PATCH 036/104] dwc_otg: fix NAK holdoff and allow on split transactions only This corrects a bug where if a single active non-periodic endpoint @@ -93575,10 +93575,10 @@ index 533b17d..73f7643 100644 1.8.5.1 -From 401b3ad19d5cad865496d64a2239f895ffee812d Mon Sep 17 00:00:00 2001 +From a6e8b37565f8cdad3a3561fe17d28a5a5e3596b3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 26 Apr 2013 10:08:31 -0700 -Subject: [PATCH 037/101] Merge pull request #286 from +Subject: [PATCH 037/104] Merge pull request #286 from martinezjavier/rpi-3.6.y-dev add mmap support and some cleanups to bcm2835 ALSA driver @@ -94059,10 +94059,10 @@ index 080bd5c..36afee3 100755 1.8.5.1 -From fc7a99d3206c798fd29521fb1affc5df4147f1c7 Mon Sep 17 00:00:00 2001 +From c3ca49ed88967168e5f396cec8c3b5a48c4df669 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 038/101] Speed up console framebuffer imageblit function +Subject: [PATCH 038/104] Speed up console framebuffer imageblit function Especially on platforms with a slower CPU but a relatively high framebuffer fill bandwidth, like current ARM devices, the existing @@ -94274,10 +94274,10 @@ index a2bb276..436494f 100644 1.8.5.1 -From 30505ca38f13a41c1778306ff1c429f1e8e80b7c Mon Sep 17 00:00:00 2001 +From 57ba80f0281adbf9c72d9ecb7bef3d25fc02cdc6 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 039/101] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 039/104] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -94373,10 +94373,10 @@ index fb795c3..fa72af0 100644 1.8.5.1 -From d12ff9cab9bb64cfad4dc081ab2f8d5e101391f5 Mon Sep 17 00:00:00 2001 +From c311556c2366961d43af724d03bc56b57d5c9c86 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 16:00:25 +0300 -Subject: [PATCH 040/101] bcm2708_fb: DMA acceleration for fb_copyarea +Subject: [PATCH 040/104] bcm2708_fb: DMA acceleration for fb_copyarea Based on http://www.raspberrypi.org/phpBB3/viewtopic.php?p=62425#p62425 Also used Simon's dmaer_master module as a reference for tweaking DMA @@ -94838,10 +94838,10 @@ index 08d9238..5758146 100644 1.8.5.1 -From a001e87fa233c1e863c1c0d838520dddddc3f590 Mon Sep 17 00:00:00 2001 +From 286ce4c4276af3bfdcdfd7a7c65746b49612dc68 Mon Sep 17 00:00:00 2001 From: Mike Bradley Date: Mon, 17 Jun 2013 11:31:42 -0700 -Subject: [PATCH 041/101] dwc_otg: Call usb_hcd_unlink_urb_from_ep with lock +Subject: [PATCH 041/104] dwc_otg: Call usb_hcd_unlink_urb_from_ep with lock held in completion handler usb_hcd_unlink_urb_from_ep must be called with the HCD lock held. Calling it @@ -94928,10 +94928,10 @@ index 39787e3..5e6a26a 100644 1.8.5.1 -From 71e1d8bd68d55504473838eefe956e6fe5d25b8b Mon Sep 17 00:00:00 2001 +From 98f9312df6fe78fd96ec801ba0748fc3aac46b85 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Thu, 4 Apr 2013 11:05:21 +0100 -Subject: [PATCH 042/101] USB fix using a FIQ to implement split transactions +Subject: [PATCH 042/104] USB fix using a FIQ to implement split transactions This commit adds a FIQ implementaion that schedules the split transactions using a FIQ so we don't get @@ -96334,10 +96334,10 @@ index 1b1f83c..c8590b5 100644 1.8.5.1 -From 5edd3cdb36328b183e2c3b1bf33561b65d011bf8 Mon Sep 17 00:00:00 2001 +From 7eff18fbc9a9f14cd9de2044546576609c00c8c2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 11:39:46 +0100 -Subject: [PATCH 043/101] dwc_otg: fix device attributes and avoid kernel +Subject: [PATCH 043/104] dwc_otg: fix device attributes and avoid kernel warnings on boot --- @@ -96406,10 +96406,10 @@ index fab2961..af1cd4d 100644 1.8.5.1 -From ffabf65b56a63527bb1fa5ce689486a28626aced Mon Sep 17 00:00:00 2001 +From 3a1f9dbff7a7a2c98943c405c145cbe9546e5b18 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 15 Jul 2013 23:55:52 +0100 -Subject: [PATCH 044/101] dcw_otg: avoid logging function that can cause panics +Subject: [PATCH 044/104] dcw_otg: avoid logging function that can cause panics See: https://github.com/raspberrypi/firmware/issues/21 Thanks to cleverca22 for fix @@ -96434,10 +96434,10 @@ index af1cd4d..9da0c92 100644 1.8.5.1 -From 4b299b3122756aec0f576ca590d478c8880dc231 Mon Sep 17 00:00:00 2001 +From 8d1b22347da132a6f1cf808986b445c698043cc9 Mon Sep 17 00:00:00 2001 From: P33M Date: Sat, 13 Jul 2013 20:41:26 +0100 -Subject: [PATCH 045/101] dwc_otg: mask correct interrupts after transaction +Subject: [PATCH 045/104] dwc_otg: mask correct interrupts after transaction error recovery The dwc_otg driver will unmask certain interrupts on a transaction @@ -96504,10 +96504,10 @@ index 8e5789f..fd73e41 100644 1.8.5.1 -From eb9ca8d11ee629310b164fbfe3fa04225822c7e8 Mon Sep 17 00:00:00 2001 +From d4d5424fcfbfc6fbb94e85b19f7de5e5f30eeaf3 Mon Sep 17 00:00:00 2001 From: P33M Date: Sat, 13 Jul 2013 21:48:41 +0100 -Subject: [PATCH 046/101] dwc_otg: fiq: prevent FIQ thrash and incorrect state +Subject: [PATCH 046/104] dwc_otg: fiq: prevent FIQ thrash and incorrect state passing to IRQ In the case of a transaction to a device that had previously aborted @@ -96564,10 +96564,10 @@ index fd73e41..2ec0565 100644 1.8.5.1 -From 52848de36efe2e753467543410ac52c912fee304 Mon Sep 17 00:00:00 2001 +From cd438f3a4062e6d211bce8a06475144a44a215ce Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Mon, 8 Jul 2013 04:12:19 +0100 -Subject: [PATCH 047/101] Fix function tracing +Subject: [PATCH 047/104] Fix function tracing --- drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 12 ++++++------ @@ -96632,10 +96632,10 @@ index 2ec0565..083b1c3 100644 1.8.5.1 -From 52145d792e8109545cecefc004d5ac884029e64f Mon Sep 17 00:00:00 2001 +From 6b2dc8280a0cd790d5c2b564e5e8cfa4b8159886 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 18 Jul 2013 16:32:41 +0100 -Subject: [PATCH 048/101] dwc_otg: whitespace cleanup in dwc_otg_urb_enqueue +Subject: [PATCH 048/104] dwc_otg: whitespace cleanup in dwc_otg_urb_enqueue --- drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c | 53 ++++++++++++++-------------- @@ -96722,10 +96722,10 @@ index d1c5c2b..315c803 100644 1.8.5.1 -From de52da135c036bce44fc5d31a8e6a357822ea49a Mon Sep 17 00:00:00 2001 +From 0aa276452e04e9c2b716a45415778e3b97c15d84 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 18 Jul 2013 17:07:26 +0100 -Subject: [PATCH 049/101] dwc_otg: prevent OOPSes during device disconnects +Subject: [PATCH 049/104] dwc_otg: prevent OOPSes during device disconnects The dwc_otg_urb_enqueue function is thread-unsafe. In particular the access of urb->hcpriv, usb_hcd_link_urb_to_ep, dwc_otg_urb->qtd and @@ -96866,10 +96866,10 @@ index 7b92025..db95851 100644 1.8.5.1 -From ca514684576e516651a41c2b5496cce2dc61dc79 Mon Sep 17 00:00:00 2001 +From 539d70be4607cc54153c52c13ba038c1abd67459 Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 22 Jul 2013 14:08:26 +0100 -Subject: [PATCH 050/101] dwc_otg: prevent BUG() in TT allocation if hub +Subject: [PATCH 050/104] dwc_otg: prevent BUG() in TT allocation if hub address is > 16 A fixed-size array is used to track TT allocation. This was @@ -96959,10 +96959,10 @@ index 083b1c3..c76910d 100644 1.8.5.1 -From da6d374ffb134a541f198b72f0d7c79abee5de27 Mon Sep 17 00:00:00 2001 +From 1cd57c1789e75b8dbf29460a99b71f95d7606082 Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 23 Jul 2013 14:15:32 +0100 -Subject: [PATCH 051/101] dwc_otg: make channel halts with unknown state less +Subject: [PATCH 051/104] dwc_otg: make channel halts with unknown state less damaging If the IRQ received a channel halt interrupt through the FIQ @@ -97007,10 +97007,10 @@ index c76910d..5fd8613 100644 1.8.5.1 -From d836be7a2b8a644245f816d1dc93236823f6b85f Mon Sep 17 00:00:00 2001 +From 6c9a269d0ebed2d9c0c880aba002fb509f5b6d91 Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 30 Jul 2013 09:58:48 +0100 -Subject: [PATCH 052/101] dwc_otg: fiq_split: use TTs with more granularity +Subject: [PATCH 052/104] dwc_otg: fiq_split: use TTs with more granularity This fixes certain issues with split transaction scheduling. @@ -97130,10 +97130,10 @@ index 5fd8613..a959a49 100644 1.8.5.1 -From abd08090a214f8b434b02f262614324af9f714de Mon Sep 17 00:00:00 2001 +From dcb55eb247ce604ffd3471f8e638c27a9bbb505d Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 2 Aug 2013 10:04:18 +0100 -Subject: [PATCH 053/101] dwc_otg: fix potential sleep while atomic during urb +Subject: [PATCH 053/104] dwc_otg: fix potential sleep while atomic during urb enqueue Fixes a regression introduced with eb1b482a. Kmalloc called from @@ -97162,10 +97162,10 @@ index 87e517d..88c0544 100644 1.8.5.1 -From 77c5e2ba11f0282505d5cb26c68bc68fc55833c6 Mon Sep 17 00:00:00 2001 +From f061c2c39d1a89136e3c032f1fe7dfa7626a12a0 Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 5 Aug 2013 11:42:12 +0100 -Subject: [PATCH 054/101] dwc_otg: make fiq_split_enable imply fiq_fix_enable +Subject: [PATCH 054/104] dwc_otg: make fiq_split_enable imply fiq_fix_enable Failing to set up the FIQ correctly would result in "IRQ 32: nobody cared" errors in dmesg. @@ -97194,10 +97194,10 @@ index 176dc14..f06c3d22 100644 1.8.5.1 -From 1d12008e0c6642db4a5d507eb8878dbb7d486bc4 Mon Sep 17 00:00:00 2001 +From 463dabcb64b407a25dca517fe2a709fe6a4e93a1 Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 5 Aug 2013 11:47:12 +0100 -Subject: [PATCH 055/101] dwc_otg: prevent crashes on host port disconnects +Subject: [PATCH 055/104] dwc_otg: prevent crashes on host port disconnects Fix several issues resulting in crashes or inconsistent state if a Model A root port was disconnected. @@ -97355,10 +97355,10 @@ index 88c0544..ae4271a 100644 1.8.5.1 -From 332ae971177794914c3e7c5e591836b924b5e8b9 Mon Sep 17 00:00:00 2001 +From 0bb9c26033f2611812e436dab64537436f779c42 Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 5 Aug 2013 13:17:58 +0100 -Subject: [PATCH 056/101] dwc_otg: prevent leaking URBs during enqueue +Subject: [PATCH 056/104] dwc_otg: prevent leaking URBs during enqueue A dwc_otg_urb would get leaked if the HCD enqueue function failed for any reason. Free the URB at the appropriate points. @@ -97394,10 +97394,10 @@ index ae4271a..ee8eec9 100644 1.8.5.1 -From c20c0063a90400ac4422341cf080917649f8078c Mon Sep 17 00:00:00 2001 +From bb32849d64a43eb051c8e789bae746fa3486fff8 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 20 Sep 2013 16:08:27 +0100 -Subject: [PATCH 057/101] dwc_otg: Enable NAK holdoff for control split +Subject: [PATCH 057/104] dwc_otg: Enable NAK holdoff for control split transactions Certain low-speed devices take a very long time to complete a @@ -97430,10 +97430,10 @@ index 3a549a1..f8dc4be 100644 1.8.5.1 -From 0f8fd6dc6706b2dba2bc04cc8522d9c6cb71ac66 Mon Sep 17 00:00:00 2001 +From ad50b23365ef8e690388b2c497bfb29bf8ee1cb2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 20 Sep 2013 19:07:56 +0100 -Subject: [PATCH 058/101] dwc_otg: Fix for occasional lockup on boot when doing +Subject: [PATCH 058/104] dwc_otg: Fix for occasional lockup on boot when doing a USB reset --- @@ -97459,10 +97459,10 @@ index f8dc4be..64d33a5 100644 1.8.5.1 -From e0969f24f1900ddd1383c04f807e723bf8c52e8f Mon Sep 17 00:00:00 2001 +From 7ae9f06e26a0e265262f2b6c67c2dbbbe013383c Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 27 Sep 2013 14:42:24 +0100 -Subject: [PATCH 059/101] dwc_otg: Don't issue traffic to LS devices in FS mode +Subject: [PATCH 059/104] dwc_otg: Don't issue traffic to LS devices in FS mode Issuing low-speed packets when the root port is in full-speed mode causes the root port to stop responding. Explicitly fail when @@ -97504,10 +97504,10 @@ index 1904f6a..22300f0 100644 1.8.5.1 -From 930d19bf5e5affaf068b1747ac50a888e7a192f4 Mon Sep 17 00:00:00 2001 +From 7ff008b20453e3df85234187853ad1fc88b438ea Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Wed, 6 Nov 2013 13:25:20 +0400 -Subject: [PATCH 060/101] ARM: bcm2708: PL01X debug include was moved into +Subject: [PATCH 060/104] ARM: bcm2708: PL01X debug include was moved into arch/arm/include/debug/ --- @@ -97528,10 +97528,10 @@ index 2d0dc1c..b24304a 100644 1.8.5.1 -From 79c9a4e69fea3e820b5f8c9ff8faf516d89e4f89 Mon Sep 17 00:00:00 2001 +From 2fd6ebb7220ceddd6a0eb9da722400c846d0e15d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 20 Nov 2013 11:22:05 +0000 -Subject: [PATCH 062/101] sdhci: Only do one iteration of PIO reading loop +Subject: [PATCH 062/104] sdhci: Only do one iteration of PIO reading loop --- drivers/mmc/host/sdhci.c | 1 + @@ -97553,10 +97553,10 @@ index 0b44ccf..51bb441 100644 1.8.5.1 -From 37c7faaf757d4a934fdd0f8dc9807d41ce884313 Mon Sep 17 00:00:00 2001 +From 6da01f099b10db018350ca54284f32a24ab4d04d Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 2 Sep 2013 16:44:57 +0100 -Subject: [PATCH 063/101] vchiq: create_pagelist copes with vmalloc memory +Subject: [PATCH 063/104] vchiq: create_pagelist copes with vmalloc memory Signed-off-by: Daniel Stone --- @@ -97697,10 +97697,10 @@ index 2b5fa56..b3bdaa2 100644 1.8.5.1 -From 48aa4a58d9e89cf0a7329227ef86591e72ed464c Mon Sep 17 00:00:00 2001 +From f42d49648303ba07d8adfe55f95c01e16b0a8378 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 30 Sep 2013 17:04:55 +0100 -Subject: [PATCH 064/101] vchiq: fix the shim message release +Subject: [PATCH 064/104] vchiq: fix the shim message release Signed-off-by: Daniel Stone --- @@ -97792,10 +97792,10 @@ index f752f8d..fe9bd80 100644 1.8.5.1 -From 9f796c5d2061b4f9c6d5dceee3760ed3e8f3755b Mon Sep 17 00:00:00 2001 +From 03a232c4c1cc7d2cf156165651322e375f8fb112 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 9 Nov 2013 22:37:21 +0000 -Subject: [PATCH 065/101] vchiq: export additional symbols +Subject: [PATCH 065/104] vchiq: export additional symbols Signed-off-by: Daniel Stone --- @@ -97826,10 +97826,10 @@ index fe9bd80..a0b069d 100644 1.8.5.1 -From 6a041fa703308b4fe4b7881f318ea36a57130d19 Mon Sep 17 00:00:00 2001 +From 7c5ce9b36a5be14c505b0bb6ed8fa01a0fab5284 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 066/101] bcm2835: add v4l2 camera device +Subject: [PATCH 066/104] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -103817,10 +103817,10 @@ index 0000000..9d1d11e 1.8.5.1 -From 587dbb7b66267966e870f40e20bdedfa401dd7ce Mon Sep 17 00:00:00 2001 +From 399d98d65e16f8ecc6b4b61acf8bfe468a79dd6d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 10:58:01 +0000 -Subject: [PATCH 067/101] V4L2: Fix EV values. Add manual shutter speed control +Subject: [PATCH 067/104] V4L2: Fix EV values. Add manual shutter speed control V4L2 EV values should be in units of 1/1000. Corrected. Add support for V4L2_CID_EXPOSURE_ABSOLUTE which should @@ -104013,10 +104013,10 @@ index c611b58..d8aace5 100644 1.8.5.1 -From cee3ee4f62d50154befa88656711859a60474f09 Mon Sep 17 00:00:00 2001 +From f3e8830bf7a43deb2ba6fde2c117c5077f946137 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 11:01:53 +0000 -Subject: [PATCH 068/101] V4L2: Correct JPEG Q-factor range +Subject: [PATCH 068/104] V4L2: Correct JPEG Q-factor range Should be 1-100, not 0-100 @@ -104054,10 +104054,10 @@ index 481d1f6..c2e4c64 100644 1.8.5.1 -From 4a751887a26e4bbbb7275e627d2082d376ccbaf4 Mon Sep 17 00:00:00 2001 +From 950102591d708ea19fac2861bb6ba3327c296895 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 11:05:24 +0000 -Subject: [PATCH 069/101] V4L2: Fix issue of driver jamming if STREAMON failed. +Subject: [PATCH 069/104] V4L2: Fix issue of driver jamming if STREAMON failed. Fix issue where the driver was left in a partially enabled state if STREAMON failed, and would then reject many IOCTLs @@ -104093,10 +104093,10 @@ index 47fe45d..2743074 100644 1.8.5.1 -From c2c61325e5ded34b45f14fb0e6e644b97bbb6a36 Mon Sep 17 00:00:00 2001 +From de70c2610f49149a9d3f55143bdfb5a2cc4dc992 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 15:30:48 +0000 -Subject: [PATCH 070/101] V4L2: Fix ISO controls. +Subject: [PATCH 070/104] V4L2: Fix ISO controls. Driver was passing the index to the GPU, and not the desired ISO value. @@ -104149,10 +104149,10 @@ index c2e4c64..92863f7 100644 1.8.5.1 -From 0b1c008b8c3d79ef55e85650ae34774aeb4f65fc Mon Sep 17 00:00:00 2001 +From 9d4822ed8cff4b090c383b1814a7e7a70aa1530c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 16:40:24 +0000 -Subject: [PATCH 071/101] V4L2: Add flicker avoidance controls +Subject: [PATCH 071/104] V4L2: Add flicker avoidance controls Add support for V4L2_CID_POWER_LINE_FREQUENCY to set flicker avoidance frequencies. @@ -104267,10 +104267,10 @@ index d8aace5..b3d2c39 100644 1.8.5.1 -From 1ce9b03c2521eae261dd5c1dd6e31d1214b276a7 Mon Sep 17 00:00:00 2001 +From 23f04eeb9fc6b65f7426475450eb638089f7cb37 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 13 Dec 2013 15:54:13 +0000 -Subject: [PATCH 072/101] V4L2: Add support for frame rate control. +Subject: [PATCH 072/104] V4L2: Add support for frame rate control. Add support for frame rate (or time per frame as V4L2 inverts it) control via s_parm. @@ -104509,10 +104509,10 @@ index b3d2c39..0f2bd50 100644 1.8.5.1 -From 05cd1dea69197da468008189fd154f460160f6d4 Mon Sep 17 00:00:00 2001 +From 13116a3ebff95d0780091293e3fcd3acb9d4cb78 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 17:30:09 +0000 -Subject: [PATCH 073/101] V4L2: Improve G_FBUF handling so we pass conformance +Subject: [PATCH 073/104] V4L2: Improve G_FBUF handling so we pass conformance Return some sane numbers for get framebuffer so that we pass conformance. @@ -104552,10 +104552,10 @@ index 8c38d03..c8d8742 100644 1.8.5.1 -From d7884bd8712aab3cab6a91a05e564840926b712d Mon Sep 17 00:00:00 2001 +From aaa746ba4bd69831ceb5c7db5553e418aacb0ad6 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 17:29:39 +0000 -Subject: [PATCH 074/101] V4L2: Fix information advertised through g_vidfmt +Subject: [PATCH 074/104] V4L2: Fix information advertised through g_vidfmt Width and height were being stored based on incorrect values. @@ -104595,10 +104595,10 @@ index c8d8742..4766a9c 100644 1.8.5.1 -From 690f2de64f3ec69cecbfc745f8f0e2cb69e7ee6a Mon Sep 17 00:00:00 2001 +From d362dba4c8bdb31e037952493f53b6b157a62cd2 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 11:03:54 +0000 -Subject: [PATCH 075/101] V4L2: Add support for inline H264 headers +Subject: [PATCH 075/104] V4L2: Add support for inline H264 headers Add support for V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER to control H264 inline headers. @@ -104903,10 +104903,10 @@ index 0f2bd50..b08a4b0 100644 1.8.5.1 -From d5bc2b1c261c0bae7ccc79a16f1bb8ecf46df092 Mon Sep 17 00:00:00 2001 +From 959244a068715383e1db290d96c36b061d3c436c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 19 Dec 2013 17:33:02 +0000 -Subject: [PATCH 076/101] V4L2: Fix JPEG timestamp issue +Subject: [PATCH 076/104] V4L2: Fix JPEG timestamp issue JPEG images were coming through from the GPU with timestamp of 0. Detect this and give current system time instead @@ -104944,10 +104944,10 @@ index 4766a9c..9fc90a2 100644 1.8.5.1 -From 68c4d942ae0436b072060e4f0b18b72ddfbf469b Mon Sep 17 00:00:00 2001 +From c6cf17a9b3785be529191ab66b4324d5e43a081b Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 11:24:55 +0000 -Subject: [PATCH 077/101] V4L2: Fix issue when switching down JPEG resolution. +Subject: [PATCH 077/104] V4L2: Fix issue when switching down JPEG resolution. JPEG buffer size calculation is based on input resolution. Input resolution was being configured after output port @@ -105109,10 +105109,10 @@ index 9fc90a2..4780107 100644 1.8.5.1 -From 4ebd645f24a7acf5329dcbb3d07152cc33b9f8d0 Mon Sep 17 00:00:00 2001 +From 6f84b2590c6ae7ad827d63573c0bedf19b429283 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 2 Dec 2013 16:57:44 +0000 -Subject: [PATCH 078/101] config: Enable V4L / MMAL driver +Subject: [PATCH 078/104] config: Enable V4L / MMAL driver --- arch/arm/configs/bcmrpi_defconfig | 3 +++ @@ -105136,10 +105136,10 @@ index 31adf3c..c850de6 100644 1.8.5.1 -From fcaa4bc4d0fe6a0e2fc29d5d6817b866324db753 Mon Sep 17 00:00:00 2001 +From f012588f649028422fb02b91516288064cd8d751 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 9 Jan 2014 16:05:20 +0000 -Subject: [PATCH 079/101] gpio: support low and high level interrupts +Subject: [PATCH 079/104] gpio: support low and high level interrupts --- arch/arm/mach-bcm2708/bcm2708_gpio.c | 52 +++++++++++++++++++++++++----------- @@ -105257,10 +105257,10 @@ index d0339eb..bab8a49 100644 1.8.5.1 -From db97b0606d0d38a3479da7c755d8eba975645200 Mon Sep 17 00:00:00 2001 +From 183e6466a752674c2f341286af659ad06eff1351 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 080/101] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 080/104] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -105320,10 +105320,10 @@ index bc1dcab..10de35a 100644 * css_from_dir - get corresponding css from the dentry of a cgroup dir * @dentry: directory dentry of interest diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index 7f1a356..71d74e3 100644 +index 00fd7fd..f5fd4bd 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c -@@ -7013,6 +7013,7 @@ struct cgroup_subsys mem_cgroup_subsys = { +@@ -7030,6 +7030,7 @@ struct cgroup_subsys mem_cgroup_subsys = { .bind = mem_cgroup_bind, .base_cftypes = mem_cgroup_files, .early_init = 0, @@ -105335,10 +105335,10 @@ index 7f1a356..71d74e3 100644 1.8.5.1 -From e3f75b8856b744b18ad2a884ffd96edac6e36790 Mon Sep 17 00:00:00 2001 +From 26dadf35d7a0a6ecfb66956ba84a40f6ce2053e0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 27 Jan 2014 21:00:56 +0000 -Subject: [PATCH 081/101] config: enable RT2800USB_RT3573 and RT2800USB_RT55XX +Subject: [PATCH 081/104] config: enable RT2800USB_RT3573 and RT2800USB_RT55XX wifi drivers --- @@ -105363,10 +105363,10 @@ index 2d79fac..271679d 100644 1.8.5.1 -From 9a222bd0451161f1abc6e91a64f002358efc24e6 Mon Sep 17 00:00:00 2001 +From 897b917e640fe9eeecb4118821ad1b7b1fc737ce Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 29 Jan 2014 21:37:00 +0000 -Subject: [PATCH 082/101] video: relax the dimensions check for rotated +Subject: [PATCH 082/104] video: relax the dimensions check for rotated displays --- @@ -105401,10 +105401,10 @@ index 5758146..935288d 100644 1.8.5.1 -From aa287e10e6301be19d9de6d7251f19c6de9160b0 Mon Sep 17 00:00:00 2001 +From 4a22ba19fee89cd7253c2cb97057660fc6b76b6b Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 083/101] dmaengine: Add support for BCM2708 +Subject: [PATCH 083/104] dmaengine: Add support for BCM2708 Add support for DMA controller of BCM2708 as used in the Raspberry Pi. Currently it only supports cyclic DMA. @@ -106044,10 +106044,10 @@ index 0000000..7d5ed19 1.8.5.1 -From c9937f97ae7d7c757f320291ce7a8dbef1277342 Mon Sep 17 00:00:00 2001 +From 80bbb262e31d2cf747c56d861ba2bcb5096ac29e Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:33:38 +0100 -Subject: [PATCH 084/101] ASoC: Add support for BCM2708 +Subject: [PATCH 084/104] ASoC: Add support for BCM2708 This driver adds support for digital audio (I2S) for the BCM2708 SoC that is used by the @@ -107068,10 +107068,10 @@ index 0000000..ebaf3d6 1.8.5.1 -From 00bc6486602130bb47f26d57ab5b1fbf573c808f Mon Sep 17 00:00:00 2001 +From 6591d5790611ab07bbf6b2aeb358436fc09c7920 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:37:51 +0100 -Subject: [PATCH 085/101] BCM2708: Extend mach header +Subject: [PATCH 085/104] BCM2708: Extend mach header Extend the headers of the mach-bcm2708 in order to support I2S and DMA engine. @@ -107116,10 +107116,10 @@ index 992a630..2e7e1bb 100644 1.8.5.1 -From 5b64954c90aee6fd7012ec0ec8c7bac5bdc31bb7 Mon Sep 17 00:00:00 2001 +From 711911d222a5bc7ebd6156003c86dbf3e9d751a6 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:59:51 +0100 -Subject: [PATCH 086/101] ASoC: Add support for PCM5102A codec +Subject: [PATCH 086/104] ASoC: Add support for PCM5102A codec Some definitions to support the PCM5102A codec by Texas Instruments. @@ -107247,10 +107247,10 @@ index 0000000..126f1e9 1.8.5.1 -From 98dcc079d071dd70a8723725bdabbf7bb78314d0 Mon Sep 17 00:00:00 2001 +From d0cd836cbe94e0fe96a8ed82780b0f5a104fc34e Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:04:54 +0100 -Subject: [PATCH 087/101] BCM2708: Add I2S support to board file +Subject: [PATCH 087/104] BCM2708: Add I2S support to board file Adds the required initializations for I2S to the board file of mach-bcm2708. @@ -107308,10 +107308,10 @@ index b4d94bf..d44d70e 100644 1.8.5.1 -From ea5d0c8ae344c5a860ada84c13c0238472979f6f Mon Sep 17 00:00:00 2001 +From 387d45787c47f457fce425b1fec091428d5a9fb2 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 088/101] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 088/104] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -107463,10 +107463,10 @@ index 0000000..4b70b45 1.8.5.1 -From a264dc10d691b832ff54db77a245d7fd2300dc31 Mon Sep 17 00:00:00 2001 +From 29b2e0b803792b727372fa23dd620dcbbdb274ae Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:21:34 +0100 -Subject: [PATCH 089/101] BCM2708: Add HifiBerry DAC to board file +Subject: [PATCH 089/104] BCM2708: Add HifiBerry DAC to board file This adds the initalization of the HifiBerry DAC to the mach-bcm2708 board file. @@ -107517,10 +107517,10 @@ index d44d70e..cfb1634 100644 1.8.5.1 -From 5e3c93dbd7756d5780ceece1fec7c7bcbbc5ae80 Mon Sep 17 00:00:00 2001 +From 01bfd9e4e1bbfdf4a444803ba5de1fbd2d758100 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 6 Dec 2013 18:55:53 +0100 -Subject: [PATCH 090/101] ASoC: BCM2708: Add 24 bit support +Subject: [PATCH 090/104] ASoC: BCM2708: Add 24 bit support This adds 24 bit support to the I2S driver of the BCM2708. Besides enabling the 24 bit flags, it includes two bug fixes: @@ -107595,10 +107595,10 @@ index ebaf3d6..a179216 100644 1.8.5.1 -From f213a76cae99c3a61fb070a3fe2f6416f8da3b44 Mon Sep 17 00:00:00 2001 +From 19a0db40773543651395da01065272e4f3e80928 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 2 Dec 2013 20:28:22 +0100 -Subject: [PATCH 091/101] BCM2708: Add I2S and DMA support to default config +Subject: [PATCH 091/104] BCM2708: Add I2S and DMA support to default config This commit adds several modules that are needed for I2S support for the Raspberry Pi to the defconfig. @@ -107641,10 +107641,10 @@ index 271679d..9f5bbe0 100644 1.8.5.1 -From 19ad7cb292bbe5b91c2d22203d061aa79f33e4b4 Mon Sep 17 00:00:00 2001 +From 5986abebcae9f5c9cbec370ffdd241248ec60e8f Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 6 Dec 2013 20:50:28 +0100 -Subject: [PATCH 092/101] ASoC: BCM2708: Add support for RPi-DAC +Subject: [PATCH 092/104] ASoC: BCM2708: Add support for RPi-DAC This adds a machine driver for the RPi-DAC. @@ -107959,10 +107959,10 @@ index 0000000..b4eaa44 1.8.5.1 -From d2b3cf853104f6ec4c7c36848415e5cfb1b1f0ab Mon Sep 17 00:00:00 2001 +From 2fb5853fcd29c5b15775231431fe2b1a87e388da Mon Sep 17 00:00:00 2001 From: Peter Budd Date: Thu, 2 Jan 2014 23:34:21 +0000 -Subject: [PATCH 093/101] Added support for Proto i2s DAC +Subject: [PATCH 093/104] Added support for Proto i2s DAC --- arch/arm/mach-bcm2708/bcm2708.c | 19 ++++++ @@ -108147,10 +108147,10 @@ index 0000000..4dc8705 1.8.5.1 -From 6b19389448f13a92ab308b6fa9ade92e3e6c82c3 Mon Sep 17 00:00:00 2001 +From 825191515033e6e83d0054f498ef0688eac0c24e Mon Sep 17 00:00:00 2001 From: Peter Budd Date: Fri, 3 Jan 2014 05:50:49 +0000 -Subject: [PATCH 094/101] Add support for additional ASoC i2s drivers +Subject: [PATCH 094/104] Add support for additional ASoC i2s drivers --- sound/soc/bcm/rpi-cs534x.c | 105 +++++++++++++++++++++++++++++++++++++++++++ @@ -108701,10 +108701,10 @@ index 0000000..6115033 1.8.5.1 -From 2080c5620820b812a8ab22522d21e1ad46afc4c9 Mon Sep 17 00:00:00 2001 +From e2300674803f2431697d20cd696a86f5be059be8 Mon Sep 17 00:00:00 2001 From: Peter Budd Date: Fri, 3 Jan 2014 05:51:53 +0000 -Subject: [PATCH 095/101] Add support for additional ASoC i2s drivers +Subject: [PATCH 095/104] Add support for additional ASoC i2s drivers --- arch/arm/mach-bcm2708/bcm2708.c | 135 ++++++++++++++++++++++++++++++++++------ @@ -108986,10 +108986,10 @@ index 95a9d44..eb869fa 100644 1.8.5.1 -From 07b59f3fec2296012e0607e5eb11467b7ba92158 Mon Sep 17 00:00:00 2001 +From 0ec9685082a81c90b3fa21e7e45cc568cc8df6c6 Mon Sep 17 00:00:00 2001 From: Peter Budd Date: Sat, 4 Jan 2014 18:27:33 +0000 -Subject: [PATCH 096/101] Remove compile warning +Subject: [PATCH 096/104] Remove compile warning --- sound/soc/bcm/rpi-proto.c | 3 +-- @@ -109020,10 +109020,10 @@ index 5752af2..c1532d4 100644 1.8.5.1 -From 270dbebf42de7227a06de55c62631d65021b5d97 Mon Sep 17 00:00:00 2001 +From e084ccebac1fd088a730da4221ce12e2ce4fb40e Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 097/101] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 097/104] ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an @@ -109140,10 +109140,10 @@ index 8ec14f5..e72d4f4 100644 1.8.5.1 -From e3f9f71cd3fdad3bf5ca7ebc8be91c61ff2a1e47 Mon Sep 17 00:00:00 2001 +From 8108bfa5588aef0df4ccf95a989033d5ddb66fa5 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 098/101] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 098/104] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -109355,10 +109355,10 @@ index 0000000..e4f769d 1.8.5.1 -From a770b046477b30ec3c637151da9b97d1d33281ba Mon Sep 17 00:00:00 2001 +From 1c0ad350ddfd3c45a0273a71e1e980012067def8 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:26:08 +0100 -Subject: [PATCH 099/101] BCM2708: Added support for HiFiBerry Digi board Board +Subject: [PATCH 099/104] BCM2708: Added support for HiFiBerry Digi board Board initalization by I2C Signed-off-by: Daniel Matuschek @@ -109408,10 +109408,10 @@ index dfc2a8c..1cba3d7 100644 1.8.5.1 -From f65f9910b310c9b4bec96c2008942cf78b7860c6 Mon Sep 17 00:00:00 2001 +From c8cdbe72bb7d269623c469ccceedc82bff814b15 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:27:28 +0100 -Subject: [PATCH 100/101] BCM2708: Added HiFiBerry Digi configuration option It +Subject: [PATCH 100/104] BCM2708: Added HiFiBerry Digi configuration option It will be compiled as a module by default. This also includes the WM8804 driver. @@ -109439,10 +109439,10 @@ index 61395f4..7b14c76 100644 1.8.5.1 -From 0bb9f12eb03b5d355f564d3f050c84de27b1ab38 Mon Sep 17 00:00:00 2001 +From 86eb794595540eb6a203d885a07b911358f81c5c Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:36:35 +0100 -Subject: [PATCH 101/101] ASoC: wm8804: Set idle_bias_off to false Idle bias +Subject: [PATCH 101/104] ASoC: wm8804: Set idle_bias_off to false Idle bias has been change to remove warning on driver startup Signed-off-by: Daniel Matuschek @@ -109466,3 +109466,150 @@ index 7ec8381..50d0f0c 100644 -- 1.8.5.1 + +From 4fab74d49a6dd951840774ae3691b4a159212ef2 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Tue, 11 Feb 2014 16:34:37 +0000 +Subject: [PATCH 102/104] dma_engine: Replace DMA_SUCCESS with DMA_COMPLETE + +--- + drivers/dma/bcm2708-dmaengine.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/dma/bcm2708-dmaengine.c b/drivers/dma/bcm2708-dmaengine.c +index 7d5ed19..b244293 100644 +--- a/drivers/dma/bcm2708-dmaengine.c ++++ b/drivers/dma/bcm2708-dmaengine.c +@@ -212,7 +212,7 @@ static enum dma_status bcm2708_dma_tx_status(struct dma_chan *chan, + unsigned long flags; + + ret = dma_cookie_status(chan, cookie, txstate); +- if (ret == DMA_SUCCESS || !txstate) ++ if (ret == DMA_COMPLETE || !txstate) + return ret; + + spin_lock_irqsave(&c->vc.lock, flags); +-- +1.8.5.1 + + +From 015e26fe1b9c54d65dcc0a3c80383979a9e0dca3 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Tue, 11 Feb 2014 17:03:51 +0000 +Subject: [PATCH 103/104] bcm2708: Allow disk activity led gpio to be specified + +--- + arch/arm/mach-bcm2708/bcm2708.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/arch/arm/mach-bcm2708/bcm2708.c b/arch/arm/mach-bcm2708/bcm2708.c +index 1cba3d7..e9f0701 100644 +--- a/arch/arm/mach-bcm2708/bcm2708.c ++++ b/arch/arm/mach-bcm2708/bcm2708.c +@@ -83,6 +83,8 @@ + /* command line parameters */ + static unsigned boardrev, serial; + static unsigned uart_clock; ++static unsigned disk_led_gpio = 16; ++static unsigned disk_led_active_low = 1; + static unsigned reboot_part = 0; + + static void __init bcm2708_init_led(void); +@@ -1081,7 +1083,9 @@ static void __init bcm2708_timer_init(void) + + static void __init bcm2708_init_led(void) + { +- platform_device_register(&bcm2708_led_device); ++ bcm2708_leds[0].gpio = disk_led_gpio; ++ bcm2708_leds[0].active_low = disk_led_active_low; ++ platform_device_register(&bcm2708_led_device); + } + #else + static inline void bcm2708_init_led(void) +@@ -1120,4 +1124,6 @@ static void __init board_reserve(void) + module_param(boardrev, uint, 0644); + module_param(serial, uint, 0644); + module_param(uart_clock, uint, 0644); ++module_param(disk_led_gpio, uint, 0644); ++module_param(disk_led_active_low, uint, 0644); + module_param(reboot_part, uint, 0644); +-- +1.8.5.1 + + +From 660b0008f5d318d8a29187b64c8717e75ad14c1c Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Tue, 11 Feb 2014 19:12:47 +0000 +Subject: [PATCH 104/104] bcm2708fb: Allow swapping of red/blue in 24/32 modes + +--- + drivers/video/bcm2708_fb.c | 21 ++++++++++++++------- + 1 file changed, 14 insertions(+), 7 deletions(-) + +diff --git a/drivers/video/bcm2708_fb.c b/drivers/video/bcm2708_fb.c +index 935288d..3f1bc8f 100644 +--- a/drivers/video/bcm2708_fb.c ++++ b/drivers/video/bcm2708_fb.c +@@ -53,6 +53,10 @@ + module_param(dma_busy_wait_threshold, int, 0644); + MODULE_PARM_DESC(dma_busy_wait_threshold, "Busy-wait for DMA completion below this area"); + ++static int fbwidth = 800; /* module parameter */ ++static int fbheight = 480; /* module parameter */ ++static int fbdepth = 16; /* module parameter */ ++static int fbswap = 0; /* module parameter */ + + /* this data structure describes each frame buffer device we find */ + +@@ -185,7 +189,12 @@ static int bcm2708_fb_set_bitfields(struct fb_var_screeninfo *var) + * encoded in the pixel data. Calculate their position from + * the bitfield length defined above. + */ +- if (ret == 0 && var->bits_per_pixel >= 24) { ++ if (ret == 0 && var->bits_per_pixel >= 24 && fbswap) { ++ var->blue.offset = 0; ++ var->green.offset = var->blue.offset + var->blue.length; ++ var->red.offset = var->green.offset + var->green.length; ++ var->transp.offset = var->red.offset + var->red.length; ++ } else if (ret == 0 && var->bits_per_pixel >= 24) { + var->red.offset = 0; + var->green.offset = var->red.offset + var->red.length; + var->blue.offset = var->green.offset + var->green.length; +@@ -557,10 +566,6 @@ static irqreturn_t bcm2708_fb_dma_irq(int irq, void *cxt) + .fb_imageblit = bcm2708_fb_imageblit, + }; + +-static int fbwidth = 800; /* module parameter */ +-static int fbheight = 480; /* module parameter */ +-static int fbdepth = 16; /* module parameter */ +- + static int bcm2708_fb_register(struct bcm2708_fb *fb) + { + int ret; +@@ -618,8 +623,8 @@ static int bcm2708_fb_register(struct bcm2708_fb *fb) + + fb_set_var(&fb->fb, &fb->fb.var); + +- print_debug("BCM2708FB: registering framebuffer (%dx%d@%d)\n", fbwidth, +- fbheight, fbdepth); ++ print_debug("BCM2708FB: registering framebuffer (%dx%d@%d) (%d)\n", fbwidth ++ fbheight, fbdepth, fbswap); + + ret = register_framebuffer(&fb->fb); + print_debug("BCM2708FB: register framebuffer (%d)\n", ret); +@@ -749,6 +754,7 @@ static void __exit bcm2708_fb_exit(void) + module_param(fbwidth, int, 0644); + module_param(fbheight, int, 0644); + module_param(fbdepth, int, 0644); ++module_param(fbswap, int, 0644); + + MODULE_DESCRIPTION("BCM2708 framebuffer driver"); + MODULE_LICENSE("GPL"); +@@ -756,3 +762,4 @@ static void __exit bcm2708_fb_exit(void) + MODULE_PARM_DESC(fbwidth, "Width of ARM Framebuffer"); + MODULE_PARM_DESC(fbheight, "Height of ARM Framebuffer"); + MODULE_PARM_DESC(fbdepth, "Bit depth of ARM Framebuffer"); ++MODULE_PARM_DESC(fbswap, "Swap order of red and blue in 24 and 32 bit modes"); +-- +1.8.5.1 +