mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
879921fb89
commit
6fa73db650
@ -121595,3 +121595,31 @@ index 58ad7dc..b32c814 100644
|
||||
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||
CONFIG_CPU_IDLE=y
|
||||
CONFIG_VFP=y
|
||||
|
||||
From 5f1c1ee8aca1f9c69b0e65bcd21065552d271013 Mon Sep 17 00:00:00 2001
|
||||
From: jeanleflambeur <catalin.vasile@gmail.com>
|
||||
Date: Sat, 20 Dec 2014 12:20:39 +0100
|
||||
Subject: [PATCH] Update i2c-bcm2708.c
|
||||
|
||||
---
|
||||
drivers/i2c/busses/i2c-bcm2708.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/drivers/i2c/busses/i2c-bcm2708.c b/drivers/i2c/busses/i2c-bcm2708.c
|
||||
index 728cb69..526129b 100644
|
||||
--- a/drivers/i2c/busses/i2c-bcm2708.c
|
||||
+++ b/drivers/i2c/busses/i2c-bcm2708.c
|
||||
@@ -266,10 +266,11 @@ static int bcm2708_i2c_master_xfer(struct i2c_adapter *adap,
|
||||
bi->nmsgs = num;
|
||||
bi->error = false;
|
||||
|
||||
- spin_unlock_irqrestore(&bi->lock, flags);
|
||||
-
|
||||
bcm2708_bsc_setup(bi);
|
||||
|
||||
+ /* unlockig _after_ the setup to avoid races with the interrupt routine */
|
||||
+ spin_unlock_irqrestore(&bi->lock, flags);
|
||||
+
|
||||
ret = wait_for_completion_timeout(&bi->done,
|
||||
msecs_to_jiffies(I2C_TIMEOUT_MS));
|
||||
if (ret == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user