stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org
Cc: torvalds@linux-foundation.org, akpm@linux-foundation.org,
	alan@lxorguk.ukuu.org.uk,
	Mauro Carvalho Chehab <mchehab@redhat.com>,
	Florian Mickler <florian@mickler.org>,
	Olivier Grenie <olivier.grenie@dibcom.fr>,
	Patrick Boettcher <Patrick.Boettcher@dibcom.fr>
Subject: [141/264] [media] DiBcom: protect the I2C bufer access
Date: Wed, 09 Nov 2011 13:33:08 -0800	[thread overview]
Message-ID: <20111109213156.339635837@clark.kroah.org> (raw)
In-Reply-To: <20111109213508.GA3476@kroah.com>

3.1-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Patrick Boettcher <Patrick.Boettcher@dibcom.fr>

commit 79fcce3230b140f7675f8529ee53fe2f9644f902 upstream.

This patch protects the I2C buffer access in order to manage concurrent
access. This protection is done using mutex.
Furthermore, for the dib9000, if a pid filtering command is
received during the tuning, this pid filtering command is delayed to
avoid any concurrent access issue.

Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Florian Mickler <florian@mickler.org>
Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr>
Signed-off-by: Patrick Boettcher <Patrick.Boettcher@dibcom.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 drivers/media/dvb/frontends/dib0070.c        |   37 ++++--
 drivers/media/dvb/frontends/dib0090.c        |   70 +++++++++--
 drivers/media/dvb/frontends/dib7000m.c       |   27 ++++
 drivers/media/dvb/frontends/dib7000p.c       |   32 ++++-
 drivers/media/dvb/frontends/dib8000.c        |   72 ++++++++++-
 drivers/media/dvb/frontends/dib9000.c        |  164 +++++++++++++++++++++++----
 drivers/media/dvb/frontends/dibx000_common.c |   76 ++++++++++--
 drivers/media/dvb/frontends/dibx000_common.h |    1 
 8 files changed, 412 insertions(+), 67 deletions(-)

--- a/drivers/media/dvb/frontends/dib0070.c
+++ b/drivers/media/dvb/frontends/dib0070.c
@@ -27,6 +27,7 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/i2c.h>
+#include <linux/mutex.h>
 
 #include "dvb_frontend.h"
 
@@ -78,10 +79,18 @@ struct dib0070_state {
 	struct i2c_msg msg[2];
 	u8 i2c_write_buffer[3];
 	u8 i2c_read_buffer[2];
+	struct mutex i2c_buffer_lock;
 };
 
-static uint16_t dib0070_read_reg(struct dib0070_state *state, u8 reg)
+static u16 dib0070_read_reg(struct dib0070_state *state, u8 reg)
 {
+	u16 ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return 0;
+	}
+
 	state->i2c_write_buffer[0] = reg;
 
 	memset(state->msg, 0, 2 * sizeof(struct i2c_msg));
@@ -96,13 +105,23 @@ static uint16_t dib0070_read_reg(struct
 
 	if (i2c_transfer(state->i2c, state->msg, 2) != 2) {
 		printk(KERN_WARNING "DiB0070 I2C read failed\n");
-		return 0;
-	}
-	return (state->i2c_read_buffer[0] << 8) | state->i2c_read_buffer[1];
+		ret = 0;
+	} else
+		ret = (state->i2c_read_buffer[0] << 8)
+			| state->i2c_read_buffer[1];
+
+	mutex_unlock(&state->i2c_buffer_lock);
+	return ret;
 }
 
 static int dib0070_write_reg(struct dib0070_state *state, u8 reg, u16 val)
 {
+	int ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
 	state->i2c_write_buffer[0] = reg;
 	state->i2c_write_buffer[1] = val >> 8;
 	state->i2c_write_buffer[2] = val & 0xff;
@@ -115,9 +134,12 @@ static int dib0070_write_reg(struct dib0
 
 	if (i2c_transfer(state->i2c, state->msg, 1) != 1) {
 		printk(KERN_WARNING "DiB0070 I2C write failed\n");
-		return -EREMOTEIO;
-	}
-	return 0;
+		ret = -EREMOTEIO;
+	} else
+		ret = 0;
+
+	mutex_unlock(&state->i2c_buffer_lock);
+	return ret;
 }
 
 #define HARD_RESET(state) do { \
@@ -734,6 +756,7 @@ struct dvb_frontend *dib0070_attach(stru
 	state->cfg = cfg;
 	state->i2c = i2c;
 	state->fe  = fe;
+	mutex_init(&state->i2c_buffer_lock);
 	fe->tuner_priv = state;
 
 	if (dib0070_reset(fe) != 0)
--- a/drivers/media/dvb/frontends/dib0090.c
+++ b/drivers/media/dvb/frontends/dib0090.c
@@ -27,6 +27,7 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/i2c.h>
+#include <linux/mutex.h>
 
 #include "dvb_frontend.h"
 
@@ -196,6 +197,7 @@ struct dib0090_state {
 	struct i2c_msg msg[2];
 	u8 i2c_write_buffer[3];
 	u8 i2c_read_buffer[2];
+	struct mutex i2c_buffer_lock;
 };
 
 struct dib0090_fw_state {
@@ -208,10 +210,18 @@ struct dib0090_fw_state {
 	struct i2c_msg msg;
 	u8 i2c_write_buffer[2];
 	u8 i2c_read_buffer[2];
+	struct mutex i2c_buffer_lock;
 };
 
 static u16 dib0090_read_reg(struct dib0090_state *state, u8 reg)
 {
+	u16 ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return 0;
+	}
+
 	state->i2c_write_buffer[0] = reg;
 
 	memset(state->msg, 0, 2 * sizeof(struct i2c_msg));
@@ -226,14 +236,24 @@ static u16 dib0090_read_reg(struct dib00
 
 	if (i2c_transfer(state->i2c, state->msg, 2) != 2) {
 		printk(KERN_WARNING "DiB0090 I2C read failed\n");
-		return 0;
-	}
+		ret = 0;
+	} else
+		ret = (state->i2c_read_buffer[0] << 8)
+			| state->i2c_read_buffer[1];
 
-	return (state->i2c_read_buffer[0] << 8) | state->i2c_read_buffer[1];
+	mutex_unlock(&state->i2c_buffer_lock);
+	return ret;
 }
 
 static int dib0090_write_reg(struct dib0090_state *state, u32 reg, u16 val)
 {
+	int ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
+
 	state->i2c_write_buffer[0] = reg & 0xff;
 	state->i2c_write_buffer[1] = val >> 8;
 	state->i2c_write_buffer[2] = val & 0xff;
@@ -246,13 +266,23 @@ static int dib0090_write_reg(struct dib0
 
 	if (i2c_transfer(state->i2c, state->msg, 1) != 1) {
 		printk(KERN_WARNING "DiB0090 I2C write failed\n");
-		return -EREMOTEIO;
-	}
-	return 0;
+		ret = -EREMOTEIO;
+	} else
+		ret = 0;
+
+	mutex_unlock(&state->i2c_buffer_lock);
+	return ret;
 }
 
 static u16 dib0090_fw_read_reg(struct dib0090_fw_state *state, u8 reg)
 {
+	u16 ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return 0;
+	}
+
 	state->i2c_write_buffer[0] = reg;
 
 	memset(&state->msg, 0, sizeof(struct i2c_msg));
@@ -262,13 +292,24 @@ static u16 dib0090_fw_read_reg(struct di
 	state->msg.len = 2;
 	if (i2c_transfer(state->i2c, &state->msg, 1) != 1) {
 		printk(KERN_WARNING "DiB0090 I2C read failed\n");
-		return 0;
-	}
-	return (state->i2c_read_buffer[0] << 8) | state->i2c_read_buffer[1];
+		ret = 0;
+	} else
+		ret = (state->i2c_read_buffer[0] << 8)
+			| state->i2c_read_buffer[1];
+
+	mutex_unlock(&state->i2c_buffer_lock);
+	return ret;
 }
 
 static int dib0090_fw_write_reg(struct dib0090_fw_state *state, u8 reg, u16 val)
 {
+	int ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
+
 	state->i2c_write_buffer[0] = val >> 8;
 	state->i2c_write_buffer[1] = val & 0xff;
 
@@ -279,9 +320,12 @@ static int dib0090_fw_write_reg(struct d
 	state->msg.len = 2;
 	if (i2c_transfer(state->i2c, &state->msg, 1) != 1) {
 		printk(KERN_WARNING "DiB0090 I2C write failed\n");
-		return -EREMOTEIO;
-	}
-	return 0;
+		ret = -EREMOTEIO;
+	} else
+		ret = 0;
+
+	mutex_unlock(&state->i2c_buffer_lock);
+	return ret;
 }
 
 #define HARD_RESET(state) do {  if (cfg->reset) {  if (cfg->sleep) cfg->sleep(fe, 0); msleep(10);  cfg->reset(fe, 1); msleep(10);  cfg->reset(fe, 0); msleep(10);  }  } while (0)
@@ -2440,6 +2484,7 @@ struct dvb_frontend *dib0090_register(st
 	st->config = config;
 	st->i2c = i2c;
 	st->fe = fe;
+	mutex_init(&st->i2c_buffer_lock);
 	fe->tuner_priv = st;
 
 	if (config->wbd == NULL)
@@ -2471,6 +2516,7 @@ struct dvb_frontend *dib0090_fw_register
 	st->config = config;
 	st->i2c = i2c;
 	st->fe = fe;
+	mutex_init(&st->i2c_buffer_lock);
 	fe->tuner_priv = st;
 
 	if (dib0090_fw_reset_digital(fe, st->config) != 0)
--- a/drivers/media/dvb/frontends/dib7000m.c
+++ b/drivers/media/dvb/frontends/dib7000m.c
@@ -11,6 +11,7 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/i2c.h>
+#include <linux/mutex.h>
 
 #include "dvb_frontend.h"
 
@@ -55,6 +56,7 @@ struct dib7000m_state {
 	struct i2c_msg msg[2];
 	u8 i2c_write_buffer[4];
 	u8 i2c_read_buffer[2];
+	struct mutex i2c_buffer_lock;
 };
 
 enum dib7000m_power_mode {
@@ -69,6 +71,13 @@ enum dib7000m_power_mode {
 
 static u16 dib7000m_read_word(struct dib7000m_state *state, u16 reg)
 {
+	u16 ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return 0;
+	}
+
 	state->i2c_write_buffer[0] = (reg >> 8) | 0x80;
 	state->i2c_write_buffer[1] = reg & 0xff;
 
@@ -85,11 +94,21 @@ static u16 dib7000m_read_word(struct dib
 	if (i2c_transfer(state->i2c_adap, state->msg, 2) != 2)
 		dprintk("i2c read error on %d",reg);
 
-	return (state->i2c_read_buffer[0] << 8) | state->i2c_read_buffer[1];
+	ret = (state->i2c_read_buffer[0] << 8) | state->i2c_read_buffer[1];
+	mutex_unlock(&state->i2c_buffer_lock);
+
+	return ret;
 }
 
 static int dib7000m_write_word(struct dib7000m_state *state, u16 reg, u16 val)
 {
+	int ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
+
 	state->i2c_write_buffer[0] = (reg >> 8) & 0xff;
 	state->i2c_write_buffer[1] = reg & 0xff;
 	state->i2c_write_buffer[2] = (val >> 8) & 0xff;
@@ -101,7 +120,10 @@ static int dib7000m_write_word(struct di
 	state->msg[0].buf = state->i2c_write_buffer;
 	state->msg[0].len = 4;
 
-	return i2c_transfer(state->i2c_adap, state->msg, 1) != 1 ? -EREMOTEIO : 0;
+	ret = (i2c_transfer(state->i2c_adap, state->msg, 1) != 1 ?
+			-EREMOTEIO : 0);
+	mutex_unlock(&state->i2c_buffer_lock);
+	return ret;
 }
 static void dib7000m_write_tab(struct dib7000m_state *state, u16 *buf)
 {
@@ -1385,6 +1407,7 @@ struct dvb_frontend * dib7000m_attach(st
 	demod                   = &st->demod;
 	demod->demodulator_priv = st;
 	memcpy(&st->demod.ops, &dib7000m_ops, sizeof(struct dvb_frontend_ops));
+	mutex_init(&st->i2c_buffer_lock);
 
 	st->timf_default = cfg->bw->timf;
 
--- a/drivers/media/dvb/frontends/dib7000p.c
+++ b/drivers/media/dvb/frontends/dib7000p.c
@@ -10,6 +10,7 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/i2c.h>
+#include <linux/mutex.h>
 
 #include "dvb_math.h"
 #include "dvb_frontend.h"
@@ -68,6 +69,7 @@ struct dib7000p_state {
 	struct i2c_msg msg[2];
 	u8 i2c_write_buffer[4];
 	u8 i2c_read_buffer[2];
+	struct mutex i2c_buffer_lock;
 };
 
 enum dib7000p_power_mode {
@@ -81,6 +83,13 @@ static int dib7090_set_diversity_in(stru
 
 static u16 dib7000p_read_word(struct dib7000p_state *state, u16 reg)
 {
+	u16 ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return 0;
+	}
+
 	state->i2c_write_buffer[0] = reg >> 8;
 	state->i2c_write_buffer[1] = reg & 0xff;
 
@@ -97,11 +106,20 @@ static u16 dib7000p_read_word(struct dib
 	if (i2c_transfer(state->i2c_adap, state->msg, 2) != 2)
 		dprintk("i2c read error on %d", reg);
 
-	return (state->i2c_read_buffer[0] << 8) | state->i2c_read_buffer[1];
+	ret = (state->i2c_read_buffer[0] << 8) | state->i2c_read_buffer[1];
+	mutex_unlock(&state->i2c_buffer_lock);
+	return ret;
 }
 
 static int dib7000p_write_word(struct dib7000p_state *state, u16 reg, u16 val)
 {
+	int ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
+
 	state->i2c_write_buffer[0] = (reg >> 8) & 0xff;
 	state->i2c_write_buffer[1] = reg & 0xff;
 	state->i2c_write_buffer[2] = (val >> 8) & 0xff;
@@ -113,7 +131,10 @@ static int dib7000p_write_word(struct di
 	state->msg[0].buf = state->i2c_write_buffer;
 	state->msg[0].len = 4;
 
-	return i2c_transfer(state->i2c_adap, state->msg, 1) != 1 ? -EREMOTEIO : 0;
+	ret = (i2c_transfer(state->i2c_adap, state->msg, 1) != 1 ?
+			-EREMOTEIO : 0);
+	mutex_unlock(&state->i2c_buffer_lock);
+	return ret;
 }
 
 static void dib7000p_write_tab(struct dib7000p_state *state, u16 * buf)
@@ -1646,6 +1667,7 @@ int dib7000p_i2c_enumeration(struct i2c_
 		return -ENOMEM;
 
 	dpst->i2c_adap = i2c;
+	mutex_init(&dpst->i2c_buffer_lock);
 
 	for (k = no_of_demods - 1; k >= 0; k--) {
 		dpst->cfg = cfg[k];
@@ -2324,6 +2346,7 @@ struct dvb_frontend *dib7000p_attach(str
 	demod = &st->demod;
 	demod->demodulator_priv = st;
 	memcpy(&st->demod.ops, &dib7000p_ops, sizeof(struct dvb_frontend_ops));
+	mutex_init(&st->i2c_buffer_lock);
 
 	dib7000p_write_word(st, 1287, 0x0003);	/* sram lead in, rdy */
 
@@ -2333,8 +2356,9 @@ struct dvb_frontend *dib7000p_attach(str
 	st->version = dib7000p_read_word(st, 897);
 
 	/* FIXME: make sure the dev.parent field is initialized, or else
-		request_firmware() will hit an OOPS (this should be moved somewhere
-		more common) */
+	   request_firmware() will hit an OOPS (this should be moved somewhere
+	   more common) */
+	st->i2c_master.gated_tuner_i2c_adap.dev.parent = i2c_adap->dev.parent;
 
 	/* FIXME: make sure the dev.parent field is initialized, or else
 	   request_firmware() will hit an OOPS (this should be moved somewhere
--- a/drivers/media/dvb/frontends/dib8000.c
+++ b/drivers/media/dvb/frontends/dib8000.c
@@ -10,6 +10,8 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/i2c.h>
+#include <linux/mutex.h>
+
 #include "dvb_math.h"
 
 #include "dvb_frontend.h"
@@ -37,6 +39,7 @@ struct i2c_device {
 	u8 addr;
 	u8 *i2c_write_buffer;
 	u8 *i2c_read_buffer;
+	struct mutex *i2c_buffer_lock;
 };
 
 struct dib8000_state {
@@ -77,6 +80,7 @@ struct dib8000_state {
 	struct i2c_msg msg[2];
 	u8 i2c_write_buffer[4];
 	u8 i2c_read_buffer[2];
+	struct mutex i2c_buffer_lock;
 };
 
 enum dib8000_power_mode {
@@ -86,24 +90,39 @@ enum dib8000_power_mode {
 
 static u16 dib8000_i2c_read16(struct i2c_device *i2c, u16 reg)
 {
+	u16 ret;
 	struct i2c_msg msg[2] = {
-		{.addr = i2c->addr >> 1, .flags = 0,
-			.buf = i2c->i2c_write_buffer, .len = 2},
-		{.addr = i2c->addr >> 1, .flags = I2C_M_RD,
-			.buf = i2c->i2c_read_buffer, .len = 2},
+		{.addr = i2c->addr >> 1, .flags = 0, .len = 2},
+		{.addr = i2c->addr >> 1, .flags = I2C_M_RD, .len = 2},
 	};
 
+	if (mutex_lock_interruptible(i2c->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return 0;
+	}
+
+	msg[0].buf    = i2c->i2c_write_buffer;
 	msg[0].buf[0] = reg >> 8;
 	msg[0].buf[1] = reg & 0xff;
+	msg[1].buf    = i2c->i2c_read_buffer;
 
 	if (i2c_transfer(i2c->adap, msg, 2) != 2)
 		dprintk("i2c read error on %d", reg);
 
-	return (msg[1].buf[0] << 8) | msg[1].buf[1];
+	ret = (msg[1].buf[0] << 8) | msg[1].buf[1];
+	mutex_unlock(i2c->i2c_buffer_lock);
+	return ret;
 }
 
 static u16 dib8000_read_word(struct dib8000_state *state, u16 reg)
 {
+	u16 ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return 0;
+	}
+
 	state->i2c_write_buffer[0] = reg >> 8;
 	state->i2c_write_buffer[1] = reg & 0xff;
 
@@ -120,7 +139,10 @@ static u16 dib8000_read_word(struct dib8
 	if (i2c_transfer(state->i2c.adap, state->msg, 2) != 2)
 		dprintk("i2c read error on %d", reg);
 
-	return (state->i2c_read_buffer[0] << 8) | state->i2c_read_buffer[1];
+	ret = (state->i2c_read_buffer[0] << 8) | state->i2c_read_buffer[1];
+	mutex_unlock(&state->i2c_buffer_lock);
+
+	return ret;
 }
 
 static u32 dib8000_read32(struct dib8000_state *state, u16 reg)
@@ -135,22 +157,35 @@ static u32 dib8000_read32(struct dib8000
 
 static int dib8000_i2c_write16(struct i2c_device *i2c, u16 reg, u16 val)
 {
-	struct i2c_msg msg = {.addr = i2c->addr >> 1, .flags = 0,
-		.buf = i2c->i2c_write_buffer, .len = 4};
+	struct i2c_msg msg = {.addr = i2c->addr >> 1, .flags = 0, .len = 4};
 	int ret = 0;
 
+	if (mutex_lock_interruptible(i2c->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
+
+	msg.buf    = i2c->i2c_write_buffer;
 	msg.buf[0] = (reg >> 8) & 0xff;
 	msg.buf[1] = reg & 0xff;
 	msg.buf[2] = (val >> 8) & 0xff;
 	msg.buf[3] = val & 0xff;
 
 	ret = i2c_transfer(i2c->adap, &msg, 1) != 1 ? -EREMOTEIO : 0;
+	mutex_unlock(i2c->i2c_buffer_lock);
 
 	return ret;
 }
 
 static int dib8000_write_word(struct dib8000_state *state, u16 reg, u16 val)
 {
+	int ret;
+
+	if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
+
 	state->i2c_write_buffer[0] = (reg >> 8) & 0xff;
 	state->i2c_write_buffer[1] = reg & 0xff;
 	state->i2c_write_buffer[2] = (val >> 8) & 0xff;
@@ -162,7 +197,11 @@ static int dib8000_write_word(struct dib
 	state->msg[0].buf = state->i2c_write_buffer;
 	state->msg[0].len = 4;
 
-	return i2c_transfer(state->i2c.adap, state->msg, 1) != 1 ? -EREMOTEIO : 0;
+	ret = (i2c_transfer(state->i2c.adap, state->msg, 1) != 1 ?
+			-EREMOTEIO : 0);
+	mutex_unlock(&state->i2c_buffer_lock);
+
+	return ret;
 }
 
 static const s16 coeff_2k_sb_1seg_dqpsk[8] = {
@@ -2434,8 +2473,15 @@ int dib8000_i2c_enumeration(struct i2c_a
 	if (!client.i2c_read_buffer) {
 		dprintk("%s: not enough memory", __func__);
 		ret = -ENOMEM;
-		goto error_memory;
+		goto error_memory_read;
+	}
+	client.i2c_buffer_lock = kzalloc(sizeof(struct mutex), GFP_KERNEL);
+	if (!client.i2c_buffer_lock) {
+		dprintk("%s: not enough memory", __func__);
+		ret = -ENOMEM;
+		goto error_memory_lock;
 	}
+	mutex_init(client.i2c_buffer_lock);
 
 	for (k = no_of_demods - 1; k >= 0; k--) {
 		/* designated i2c address */
@@ -2476,8 +2522,10 @@ int dib8000_i2c_enumeration(struct i2c_a
 	}
 
 error:
+	kfree(client.i2c_buffer_lock);
+error_memory_lock:
 	kfree(client.i2c_read_buffer);
-error_memory:
+error_memory_read:
 	kfree(client.i2c_write_buffer);
 
 	return ret;
@@ -2581,6 +2629,8 @@ struct dvb_frontend *dib8000_attach(stru
 	state->i2c.addr = i2c_addr;
 	state->i2c.i2c_write_buffer = state->i2c_write_buffer;
 	state->i2c.i2c_read_buffer = state->i2c_read_buffer;
+	mutex_init(&state->i2c_buffer_lock);
+	state->i2c.i2c_buffer_lock = &state->i2c_buffer_lock;
 	state->gpio_val = cfg->gpio_val;
 	state->gpio_dir = cfg->gpio_dir;
 
--- a/drivers/media/dvb/frontends/dib9000.c
+++ b/drivers/media/dvb/frontends/dib9000.c
@@ -38,6 +38,15 @@ struct i2c_device {
 #define DibInitLock(lock) mutex_init(lock)
 #define DibFreeLock(lock)
 
+struct dib9000_pid_ctrl {
+#define DIB9000_PID_FILTER_CTRL 0
+#define DIB9000_PID_FILTER      1
+	u8 cmd;
+	u8 id;
+	u16 pid;
+	u8 onoff;
+};
+
 struct dib9000_state {
 	struct i2c_device i2c;
 
@@ -99,6 +108,10 @@ struct dib9000_state {
 	struct i2c_msg msg[2];
 	u8 i2c_write_buffer[255];
 	u8 i2c_read_buffer[255];
+	DIB_LOCK demod_lock;
+	u8 get_frontend_internal;
+	struct dib9000_pid_ctrl pid_ctrl[10];
+	s8 pid_ctrl_index; /* -1: empty list; -2: do not use the list */
 };
 
 static const u32 fe_info[44] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -1743,19 +1756,56 @@ EXPORT_SYMBOL(dib9000_set_gpio);
 int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
 {
 	struct dib9000_state *state = fe->demodulator_priv;
-	u16 val = dib9000_read_word(state, 294 + 1) & 0xffef;
+	u16 val;
+	int ret;
+
+	if ((state->pid_ctrl_index != -2) && (state->pid_ctrl_index < 9)) {
+		/* postpone the pid filtering cmd */
+		dprintk("pid filter cmd postpone");
+		state->pid_ctrl_index++;
+		state->pid_ctrl[state->pid_ctrl_index].cmd = DIB9000_PID_FILTER_CTRL;
+		state->pid_ctrl[state->pid_ctrl_index].onoff = onoff;
+		return 0;
+	}
+
+	DibAcquireLock(&state->demod_lock);
+
+	val = dib9000_read_word(state, 294 + 1) & 0xffef;
 	val |= (onoff & 0x1) << 4;
 
 	dprintk("PID filter enabled %d", onoff);
-	return dib9000_write_word(state, 294 + 1, val);
+	ret = dib9000_write_word(state, 294 + 1, val);
+	DibReleaseLock(&state->demod_lock);
+	return ret;
+
 }
 EXPORT_SYMBOL(dib9000_fw_pid_filter_ctrl);
 
 int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
 {
 	struct dib9000_state *state = fe->demodulator_priv;
+	int ret;
+
+	if (state->pid_ctrl_index != -2) {
+		/* postpone the pid filtering cmd */
+		dprintk("pid filter postpone");
+		if (state->pid_ctrl_index < 9) {
+			state->pid_ctrl_index++;
+			state->pid_ctrl[state->pid_ctrl_index].cmd = DIB9000_PID_FILTER;
+			state->pid_ctrl[state->pid_ctrl_index].id = id;
+			state->pid_ctrl[state->pid_ctrl_index].pid = pid;
+			state->pid_ctrl[state->pid_ctrl_index].onoff = onoff;
+		} else
+			dprintk("can not add any more pid ctrl cmd");
+		return 0;
+	}
+
+	DibAcquireLock(&state->demod_lock);
 	dprintk("Index %x, PID %d, OnOff %d", id, pid, onoff);
-	return dib9000_write_word(state, 300 + 1 + id, onoff ? (1 << 13) | pid : 0);
+	ret = dib9000_write_word(state, 300 + 1 + id,
+			onoff ? (1 << 13) | pid : 0);
+	DibReleaseLock(&state->demod_lock);
+	return ret;
 }
 EXPORT_SYMBOL(dib9000_fw_pid_filter);
 
@@ -1778,6 +1828,7 @@ static void dib9000_release(struct dvb_f
 	DibFreeLock(&state->platform.risc.mbx_lock);
 	DibFreeLock(&state->platform.risc.mem_lock);
 	DibFreeLock(&state->platform.risc.mem_mbx_lock);
+	DibFreeLock(&state->demod_lock);
 	dibx000_exit_i2c_master(&st->i2c_master);
 
 	i2c_del_adapter(&st->tuner_adap);
@@ -1795,14 +1846,19 @@ static int dib9000_sleep(struct dvb_fron
 {
 	struct dib9000_state *state = fe->demodulator_priv;
 	u8 index_frontend;
-	int ret;
+	int ret = 0;
 
+	DibAcquireLock(&state->demod_lock);
 	for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) {
 		ret = state->fe[index_frontend]->ops.sleep(state->fe[index_frontend]);
 		if (ret < 0)
-			return ret;
+			goto error;
 	}
-	return dib9000_mbx_send(state, OUT_MSG_FE_SLEEP, NULL, 0);
+	ret = dib9000_mbx_send(state, OUT_MSG_FE_SLEEP, NULL, 0);
+
+error:
+	DibReleaseLock(&state->demod_lock);
+	return ret;
 }
 
 static int dib9000_fe_get_tune_settings(struct dvb_frontend *fe, struct dvb_frontend_tune_settings *tune)
@@ -1816,7 +1872,10 @@ static int dib9000_get_frontend(struct d
 	struct dib9000_state *state = fe->demodulator_priv;
 	u8 index_frontend, sub_index_frontend;
 	fe_status_t stat;
-	int ret;
+	int ret = 0;
+
+	if (state->get_frontend_internal == 0)
+		DibAcquireLock(&state->demod_lock);
 
 	for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) {
 		state->fe[index_frontend]->ops.read_status(state->fe[index_frontend], &stat);
@@ -1846,14 +1905,15 @@ static int dib9000_get_frontend(struct d
 					    state->fe[index_frontend]->dtv_property_cache.rolloff;
 				}
 			}
-			return 0;
+			ret = 0;
+			goto return_value;
 		}
 	}
 
 	/* get the channel from master chip */
 	ret = dib9000_fw_get_channel(fe, fep);
 	if (ret != 0)
-		return ret;
+		goto return_value;
 
 	/* synchronize the cache with the other frontends */
 	for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) {
@@ -1866,8 +1926,12 @@ static int dib9000_get_frontend(struct d
 		state->fe[index_frontend]->dtv_property_cache.code_rate_LP = fe->dtv_property_cache.code_rate_LP;
 		state->fe[index_frontend]->dtv_property_cache.rolloff = fe->dtv_property_cache.rolloff;
 	}
+	ret = 0;
 
-	return 0;
+return_value:
+	if (state->get_frontend_internal == 0)
+		DibReleaseLock(&state->demod_lock);
+	return ret;
 }
 
 static int dib9000_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state)
@@ -1912,6 +1976,10 @@ static int dib9000_set_frontend(struct d
 		dprintk("dib9000: must specify bandwidth ");
 		return 0;
 	}
+
+	state->pid_ctrl_index = -1; /* postpone the pid filtering cmd */
+	DibAcquireLock(&state->demod_lock);
+
 	fe->dtv_property_cache.delivery_system = SYS_DVBT;
 
 	/* set the master status */
@@ -1974,13 +2042,18 @@ static int dib9000_set_frontend(struct d
 	/* check the tune result */
 	if (exit_condition == 1) {	/* tune failed */
 		dprintk("tune failed");
+		DibReleaseLock(&state->demod_lock);
+		/* tune failed; put all the pid filtering cmd to junk */
+		state->pid_ctrl_index = -1;
 		return 0;
 	}
 
 	dprintk("tune success on frontend%i", index_frontend_success);
 
 	/* synchronize all the channel cache */
+	state->get_frontend_internal = 1;
 	dib9000_get_frontend(state->fe[0], fep);
+	state->get_frontend_internal = 0;
 
 	/* retune the other frontends with the found channel */
 	channel_status.status = CHANNEL_STATUS_PARAMETERS_SET;
@@ -2025,6 +2098,28 @@ static int dib9000_set_frontend(struct d
 	/* turn off the diversity for the last frontend */
 	dib9000_fw_set_diversity_in(state->fe[index_frontend - 1], 0);
 
+	DibReleaseLock(&state->demod_lock);
+	if (state->pid_ctrl_index >= 0) {
+		u8 index_pid_filter_cmd;
+		u8 pid_ctrl_index = state->pid_ctrl_index;
+
+		state->pid_ctrl_index = -2;
+		for (index_pid_filter_cmd = 0;
+				index_pid_filter_cmd <= pid_ctrl_index;
+				index_pid_filter_cmd++) {
+			if (state->pid_ctrl[index_pid_filter_cmd].cmd == DIB9000_PID_FILTER_CTRL)
+				dib9000_fw_pid_filter_ctrl(state->fe[0],
+						state->pid_ctrl[index_pid_filter_cmd].onoff);
+			else if (state->pid_ctrl[index_pid_filter_cmd].cmd == DIB9000_PID_FILTER)
+				dib9000_fw_pid_filter(state->fe[0],
+						state->pid_ctrl[index_pid_filter_cmd].id,
+						state->pid_ctrl[index_pid_filter_cmd].pid,
+						state->pid_ctrl[index_pid_filter_cmd].onoff);
+		}
+	}
+	/* do not postpone any more the pid filtering */
+	state->pid_ctrl_index = -2;
+
 	return 0;
 }
 
@@ -2041,6 +2136,7 @@ static int dib9000_read_status(struct dv
 	u8 index_frontend;
 	u16 lock = 0, lock_slave = 0;
 
+	DibAcquireLock(&state->demod_lock);
 	for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++)
 		lock_slave |= dib9000_read_lock(state->fe[index_frontend]);
 
@@ -2059,6 +2155,8 @@ static int dib9000_read_status(struct dv
 	if ((lock & 0x0008) || (lock_slave & 0x0008))
 		*stat |= FE_HAS_LOCK;
 
+	DibReleaseLock(&state->demod_lock);
+
 	return 0;
 }
 
@@ -2066,10 +2164,14 @@ static int dib9000_read_ber(struct dvb_f
 {
 	struct dib9000_state *state = fe->demodulator_priv;
 	u16 *c;
+	int ret = 0;
 
+	DibAcquireLock(&state->demod_lock);
 	DibAcquireLock(&state->platform.risc.mem_mbx_lock);
-	if (dib9000_fw_memmbx_sync(state, FE_SYNC_CHANNEL) < 0)
-		return -EIO;
+	if (dib9000_fw_memmbx_sync(state, FE_SYNC_CHANNEL) < 0) {
+		ret = -EIO;
+		goto error;
+	}
 	dib9000_risc_mem_read(state, FE_MM_R_FE_MONITOR,
 			state->i2c_read_buffer, 16 * 2);
 	DibReleaseLock(&state->platform.risc.mem_mbx_lock);
@@ -2077,7 +2179,10 @@ static int dib9000_read_ber(struct dvb_f
 	c = (u16 *)state->i2c_read_buffer;
 
 	*ber = c[10] << 16 | c[11];
-	return 0;
+
+error:
+	DibReleaseLock(&state->demod_lock);
+	return ret;
 }
 
 static int dib9000_read_signal_strength(struct dvb_frontend *fe, u16 * strength)
@@ -2086,7 +2191,9 @@ static int dib9000_read_signal_strength(
 	u8 index_frontend;
 	u16 *c = (u16 *)state->i2c_read_buffer;
 	u16 val;
+	int ret = 0;
 
+	DibAcquireLock(&state->demod_lock);
 	*strength = 0;
 	for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) {
 		state->fe[index_frontend]->ops.read_signal_strength(state->fe[index_frontend], &val);
@@ -2097,8 +2204,10 @@ static int dib9000_read_signal_strength(
 	}
 
 	DibAcquireLock(&state->platform.risc.mem_mbx_lock);
-	if (dib9000_fw_memmbx_sync(state, FE_SYNC_CHANNEL) < 0)
-		return -EIO;
+	if (dib9000_fw_memmbx_sync(state, FE_SYNC_CHANNEL) < 0) {
+		ret = -EIO;
+		goto error;
+	}
 	dib9000_risc_mem_read(state, FE_MM_R_FE_MONITOR, (u8 *) c, 16 * 2);
 	DibReleaseLock(&state->platform.risc.mem_mbx_lock);
 
@@ -2107,7 +2216,10 @@ static int dib9000_read_signal_strength(
 		*strength = 65535;
 	else
 		*strength += val;
-	return 0;
+
+error:
+	DibReleaseLock(&state->demod_lock);
+	return ret;
 }
 
 static u32 dib9000_get_snr(struct dvb_frontend *fe)
@@ -2151,6 +2263,7 @@ static int dib9000_read_snr(struct dvb_f
 	u8 index_frontend;
 	u32 snr_master;
 
+	DibAcquireLock(&state->demod_lock);
 	snr_master = dib9000_get_snr(fe);
 	for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++)
 		snr_master += dib9000_get_snr(state->fe[index_frontend]);
@@ -2161,6 +2274,8 @@ static int dib9000_read_snr(struct dvb_f
 	} else
 		*snr = 0;
 
+	DibReleaseLock(&state->demod_lock);
+
 	return 0;
 }
 
@@ -2168,15 +2283,22 @@ static int dib9000_read_unc_blocks(struc
 {
 	struct dib9000_state *state = fe->demodulator_priv;
 	u16 *c = (u16 *)state->i2c_read_buffer;
+	int ret = 0;
 
+	DibAcquireLock(&state->demod_lock);
 	DibAcquireLock(&state->platform.risc.mem_mbx_lock);
-	if (dib9000_fw_memmbx_sync(state, FE_SYNC_CHANNEL) < 0)
-		return -EIO;
+	if (dib9000_fw_memmbx_sync(state, FE_SYNC_CHANNEL) < 0) {
+		ret = -EIO;
+		goto error;
+	}
 	dib9000_risc_mem_read(state, FE_MM_R_FE_MONITOR, (u8 *) c, 16 * 2);
 	DibReleaseLock(&state->platform.risc.mem_mbx_lock);
 
 	*unc = c[12];
-	return 0;
+
+error:
+	DibReleaseLock(&state->demod_lock);
+	return ret;
 }
 
 int dib9000_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 default_addr, u8 first_addr)
@@ -2322,6 +2444,10 @@ struct dvb_frontend *dib9000_attach(stru
 	DibInitLock(&st->platform.risc.mbx_lock);
 	DibInitLock(&st->platform.risc.mem_lock);
 	DibInitLock(&st->platform.risc.mem_mbx_lock);
+	DibInitLock(&st->demod_lock);
+	st->get_frontend_internal = 0;
+
+	st->pid_ctrl_index = -2;
 
 	st->fe[0] = fe;
 	fe->demodulator_priv = st;
--- a/drivers/media/dvb/frontends/dibx000_common.c
+++ b/drivers/media/dvb/frontends/dibx000_common.c
@@ -1,4 +1,5 @@
 #include <linux/i2c.h>
+#include <linux/mutex.h>
 
 #include "dibx000_common.h"
 
@@ -10,6 +11,13 @@ MODULE_PARM_DESC(debug, "turn on debuggi
 
 static int dibx000_write_word(struct dibx000_i2c_master *mst, u16 reg, u16 val)
 {
+	int ret;
+
+	if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
+
 	mst->i2c_write_buffer[0] = (reg >> 8) & 0xff;
 	mst->i2c_write_buffer[1] = reg & 0xff;
 	mst->i2c_write_buffer[2] = (val >> 8) & 0xff;
@@ -21,11 +29,21 @@ static int dibx000_write_word(struct dib
 	mst->msg[0].buf = mst->i2c_write_buffer;
 	mst->msg[0].len = 4;
 
-	return i2c_transfer(mst->i2c_adap, mst->msg, 1) != 1 ? -EREMOTEIO : 0;
+	ret = i2c_transfer(mst->i2c_adap, mst->msg, 1) != 1 ? -EREMOTEIO : 0;
+	mutex_unlock(&mst->i2c_buffer_lock);
+
+	return ret;
 }
 
 static u16 dibx000_read_word(struct dibx000_i2c_master *mst, u16 reg)
 {
+	u16 ret;
+
+	if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return 0;
+	}
+
 	mst->i2c_write_buffer[0] = reg >> 8;
 	mst->i2c_write_buffer[1] = reg & 0xff;
 
@@ -42,7 +60,10 @@ static u16 dibx000_read_word(struct dibx
 	if (i2c_transfer(mst->i2c_adap, mst->msg, 2) != 2)
 		dprintk("i2c read error on %d", reg);
 
-	return (mst->i2c_read_buffer[0] << 8) | mst->i2c_read_buffer[1];
+	ret = (mst->i2c_read_buffer[0] << 8) | mst->i2c_read_buffer[1];
+	mutex_unlock(&mst->i2c_buffer_lock);
+
+	return ret;
 }
 
 static int dibx000_is_i2c_done(struct dibx000_i2c_master *mst)
@@ -257,6 +278,7 @@ static int dibx000_i2c_gated_gpio67_xfer
 					struct i2c_msg msg[], int num)
 {
 	struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap);
+	int ret;
 
 	if (num > 32) {
 		dprintk("%s: too much I2C message to be transmitted (%i).\
@@ -264,10 +286,15 @@ static int dibx000_i2c_gated_gpio67_xfer
 		return -ENOMEM;
 	}
 
-	memset(mst->msg, 0, sizeof(struct i2c_msg) * (2 + num));
-
 	dibx000_i2c_select_interface(mst, DIBX000_I2C_INTERFACE_GPIO_6_7);
 
+	if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
+
+	memset(mst->msg, 0, sizeof(struct i2c_msg) * (2 + num));
+
 	/* open the gate */
 	dibx000_i2c_gate_ctrl(mst, &mst->i2c_write_buffer[0], msg[0].addr, 1);
 	mst->msg[0].addr = mst->i2c_addr;
@@ -282,7 +309,11 @@ static int dibx000_i2c_gated_gpio67_xfer
 	mst->msg[num + 1].buf = &mst->i2c_write_buffer[4];
 	mst->msg[num + 1].len = 4;
 
-	return i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ? num : -EIO;
+	ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ?
+			num : -EIO);
+
+	mutex_unlock(&mst->i2c_buffer_lock);
+	return ret;
 }
 
 static struct i2c_algorithm dibx000_i2c_gated_gpio67_algo = {
@@ -294,6 +325,7 @@ static int dibx000_i2c_gated_tuner_xfer(
 					struct i2c_msg msg[], int num)
 {
 	struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap);
+	int ret;
 
 	if (num > 32) {
 		dprintk("%s: too much I2C message to be transmitted (%i).\
@@ -301,10 +333,14 @@ static int dibx000_i2c_gated_tuner_xfer(
 		return -ENOMEM;
 	}
 
-	memset(mst->msg, 0, sizeof(struct i2c_msg) * (2 + num));
-
 	dibx000_i2c_select_interface(mst, DIBX000_I2C_INTERFACE_TUNER);
 
+	if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
+	memset(mst->msg, 0, sizeof(struct i2c_msg) * (2 + num));
+
 	/* open the gate */
 	dibx000_i2c_gate_ctrl(mst, &mst->i2c_write_buffer[0], msg[0].addr, 1);
 	mst->msg[0].addr = mst->i2c_addr;
@@ -319,7 +355,10 @@ static int dibx000_i2c_gated_tuner_xfer(
 	mst->msg[num + 1].buf = &mst->i2c_write_buffer[4];
 	mst->msg[num + 1].len = 4;
 
-	return i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ? num : -EIO;
+	ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ?
+			num : -EIO);
+	mutex_unlock(&mst->i2c_buffer_lock);
+	return ret;
 }
 
 static struct i2c_algorithm dibx000_i2c_gated_tuner_algo = {
@@ -390,8 +429,18 @@ static int i2c_adapter_init(struct i2c_a
 int dibx000_init_i2c_master(struct dibx000_i2c_master *mst, u16 device_rev,
 				struct i2c_adapter *i2c_adap, u8 i2c_addr)
 {
-	u8 tx[4];
-	struct i2c_msg m = {.addr = i2c_addr >> 1,.buf = tx,.len = 4 };
+	int ret;
+
+	mutex_init(&mst->i2c_buffer_lock);
+	if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) {
+		dprintk("could not acquire lock");
+		return -EINVAL;
+	}
+	memset(mst->msg, 0, sizeof(struct i2c_msg));
+	mst->msg[0].addr = i2c_addr >> 1;
+	mst->msg[0].flags = 0;
+	mst->msg[0].buf = mst->i2c_write_buffer;
+	mst->msg[0].len = 4;
 
 	mst->device_rev = device_rev;
 	mst->i2c_adap = i2c_adap;
@@ -431,9 +480,12 @@ int dibx000_init_i2c_master(struct dibx0
 				"DiBX000: could not initialize the master i2c_adapter\n");
 
 	/* initialize the i2c-master by closing the gate */
-	dibx000_i2c_gate_ctrl(mst, tx, 0, 0);
+	dibx000_i2c_gate_ctrl(mst, mst->i2c_write_buffer, 0, 0);
+
+	ret = (i2c_transfer(i2c_adap, mst->msg, 1) == 1);
+	mutex_unlock(&mst->i2c_buffer_lock);
 
-	return i2c_transfer(i2c_adap, &m, 1) == 1;
+	return ret;
 }
 
 EXPORT_SYMBOL(dibx000_init_i2c_master);
--- a/drivers/media/dvb/frontends/dibx000_common.h
+++ b/drivers/media/dvb/frontends/dibx000_common.h
@@ -33,6 +33,7 @@ struct dibx000_i2c_master {
 	struct i2c_msg msg[34];
 	u8 i2c_write_buffer[8];
 	u8 i2c_read_buffer[2];
+	struct mutex i2c_buffer_lock;
 };
 
 extern int dibx000_init_i2c_master(struct dibx000_i2c_master *mst,



  parent reply	other threads:[~2011-11-09 21:33 UTC|newest]

Thread overview: 265+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 21:35 [000/264] 3.1.1-stable review Greg KH
2011-11-09 21:30 ` [001/264] CIFS: Fix incorrect max RFC1002 write size value Greg KH
2011-11-09 21:30 ` [002/264] CIFS: Fix DFS handling in cifs_get_file_info Greg KH
2011-11-09 21:30 ` [003/264] TTY: drop driver reference in tty_open fail path Greg KH
2011-11-09 21:30 ` [004/264] TTY: make tty_add_file non-failing Greg KH
2011-11-09 21:30 ` [005/264] TTY: pty, release tty in all ptmx_open fail paths Greg KH
2011-11-09 21:30 ` [006/264] USB: for usb_autopm_get_interface_async -EINPROGRESS is not an error Greg KH
2011-11-09 21:30 ` [007/264] staging: usbip: fix up api changes that broke windows clients Greg KH
2011-11-09 21:30 ` [008/264] staging: serqt_usb2: remove ssu100 from supported devices Greg KH
2011-11-09 21:30 ` [009/264] staging: quatech_usb2: Potential lost wakeup scenario in TIOCMIWAIT Greg KH
2011-11-09 21:30 ` [010/264] Staging: hv: Add support for >2 TB LUN in storage driver Greg KH
2011-11-09 21:30 ` [011/264] staging: hv: fix a kernel warning in netvsc_linkstatus_callback() Greg KH
2011-11-09 21:30 ` [012/264] USB: qcserial: Add support for Sierra Wireless MC8355/Gobi 3000 Greg KH
2011-11-09 21:31 ` [013/264] USB: qcserial: add device ID for "HP un2430 Mobile Broadband Module" Greg KH
2011-11-09 21:31 ` [014/264] serial: pxa: work around for errata #20 Greg KH
2011-11-09 21:31 ` [015/264] serial-core: power up uart port early before we do set_termios when resuming Greg KH
2011-11-09 21:31 ` [016/264] EHCI : introduce a common ehci_setup Greg KH
2011-11-09 21:31 ` [017/264] USB: fix ehci alignment error Greg KH
2011-11-09 21:31 ` [018/264] EHCI: workaround for MosChip controller bug Greg KH
2011-11-09 21:31 ` [019/264] xhci-mem.c: Check for ring->first_seg != NULL Greg KH
2011-11-09 21:31 ` [020/264] xHCI: AMD isoc link TRB chain bit quirk Greg KH
2011-11-09 21:31 ` [021/264] drm/i915: Wrap DP EDID fetch functions to enable eDP panel power Greg KH
2011-11-09 21:31 ` [022/264] drm/i915/panel: Always record the backlight level again (but cleverly) Greg KH
2011-11-09 21:31 ` [023/264] drm/i915: use correct SPD type value Greg KH
2011-11-09 21:31 ` [024/264] drm/radeon/kms: bail early in dvi_detect for digital only connectors Greg KH
2011-11-09 21:31 ` [025/264] drm/radeon/kms: handle !force case in connector detect more gracefully Greg KH
2011-11-09 21:31 ` [026/264] drm/radeon/kms: Fix I2C mask definitions Greg KH
2011-11-09 21:31 ` [027/264] mmc: core: Fix hangs related to insert/remove of cards Greg KH
2011-11-09 21:31 ` [028/264] mmc: core: ext_csd.raw_* used in comparison but never set Greg KH
2011-11-09 21:31 ` [029/264] PCI quirk: mmc: Always check for lower base frequency quirk for Ricoh 1180:e823 Greg KH
2011-11-09 21:31 ` [030/264] [SCSI] megaraid_sas: Fix instance access in megasas_reset_timer Greg KH
2011-11-09 21:31 ` [031/264] [SCSI] ipr: Always initiate hard reset in kdump kernel Greg KH
2011-11-09 21:31 ` [032/264] [SCSI] libsas: set sas_address and device type of rphy Greg KH
2011-11-09 21:31 ` [033/264] [SCSI] isci: fix support for large smp requests Greg KH
2011-11-09 21:31 ` [034/264] [SCSI] isci: fix missed unlock in apc_agent_timeout() Greg KH
2011-11-09 21:31 ` [035/264] ALSA: hda - Remove bad code for IDT 92HD83 family patch Greg KH
2011-11-09 21:31 ` [036/264] ALSA: hda - Keep EAPD turned on for old Conexant chips Greg KH
2011-11-09 21:31 ` [037/264] ALSA: HDA: Add new revision for ALC662 Greg KH
2011-11-09 21:31 ` [038/264] target: Prevent cmd->se_queue_node double add Greg KH
2011-11-09 21:31 ` [039/264] target: Fix transport_cmd_finish_abort queue removal bug Greg KH
2011-11-09 21:31 ` [040/264] target: Prevent transport_send_task_abort when CHECK_CONDITION status Greg KH
2011-11-09 21:31 ` [041/264] target: Prevent TRANSPORT_FREE_CMD_INTR processing in core_tmr_drain_cmd_list Greg KH
2011-11-09 21:31 ` [042/264] target: Fix REPORT TARGET PORT GROUPS handling with small allocation length Greg KH
2011-11-09 21:31 ` [043/264] x86: uv2: Workaround for UV2 Hub bug (system global address format) Greg KH
2011-11-09 21:31 ` [044/264] x86: Fix compilation bug in kprobes twobyte_is_boostable Greg KH
2011-11-09 21:31 ` [045/264] epoll: fix spurious lockdep warnings Greg KH
2011-11-09 21:31 ` [046/264] leds: save the delay values after a successful call to blink_set() Greg KH
2011-11-09 21:31 ` [047/264] leds: turn the blink_timer off before starting to blink Greg KH
2011-11-09 21:31 ` [048/264] target: Re-org of core_tmr_lun_reset Greg KH
2011-11-09 21:31 ` [049/264] usbmon vs. tcpdump: fix dropped packet count Greg KH
2011-11-09 21:31 ` [050/264] usb-storage: fix realtek cr configuration Greg KH
2011-11-09 21:31 ` [051/264] USB: storage: Use normalized sense when emulating autosense Greg KH
2011-11-09 21:31 ` [052/264] USB: Fix runtime wakeup on OHCI Greg KH
2011-11-09 21:31 ` [053/264] USB: g_printer: fix bug in unregistration Greg KH
2011-11-09 21:31 ` [054/264] usb/core/devio.c: Check for printer class specific request Greg KH
2011-11-09 21:31 ` [055/264] USB: pid_ns: ensure pid is not freed during kill_pid_info_as_uid Greg KH
2011-11-09 21:31 ` [056/264] usb: cdc-acm: Owen SI-30 support Greg KH
2011-11-09 21:31 ` [057/264] USB: add RESET_RESUME for webcams shown to be quirky Greg KH
2011-11-09 21:31 ` [058/264] USB: pl2303: add id for SMART device Greg KH
2011-11-09 21:31 ` [059/264] USB: ftdi_sio: add PID for Sony Ericsson Urban Greg KH
2011-11-09 21:31 ` [060/264] USB: ftdi_sio: Support TI/Luminary Micro Stellaris BD-ICDI Board Greg KH
2011-11-09 21:31 ` [061/264] USB: option: convert interface blacklisting to bitfields Greg KH
2011-11-09 21:31 ` [062/264] USB: option: convert Huawei K3765, K4505, K4605 reservered interface to blacklist Greg KH
2011-11-09 21:31 ` [063/264] USB: option: add ZTE product 0x0037 to sendsetup blacklist Greg KH
2011-11-09 21:31 ` [064/264] USB: option: add various ZTE device network interfaces to the blacklist Greg KH
2011-11-09 21:31 ` [065/264] MAINTANERS: update Qualcomm Atheros addresses Greg KH
2011-11-09 21:31 ` [066/264] ath9k_hw: Fix descriptor status of TxOpExceeded Greg KH
2011-11-09 21:31 ` [067/264] ath9k_hw: Fix magnitude/phase coeff correction Greg KH
2011-11-09 21:31 ` [068/264] ath9k_htc: add AVM FRITZ!WLAN 11N v2 support Greg KH
2011-11-09 21:31 ` [069/264] ath9k_hw: Fix number of GPIO pins for AR9287/9300 Greg KH
2011-11-09 21:31 ` [070/264] ath9k: disable unnecessary PHY error reporting Greg KH
2011-11-09 21:31 ` [071/264] USB: add quirk for Logitech C300 web cam Greg KH
2011-11-09 21:31 ` [072/264] HID: ACRUX - fix enabling force feedback support Greg KH
2011-11-09 21:32 ` [073/264] QE/FHCI: fixed the CONTROL bug Greg KH
2011-11-09 21:32 ` [074/264] ARM: smp: fix clipping of number of CPUs Greg KH
2011-11-09 21:32 ` [075/264] Update email address for stable patch submission Greg KH
2011-11-09 21:32 ` [076/264] xen-pcifront: Update warning comment to use e820_host option Greg KH
2011-11-09 21:32 ` [077/264] xen-swiotlb: Fix wrong panic Greg KH
2011-11-09 21:32 ` [078/264] ums_realtek: do not use stack memory for DMA Greg KH
2011-11-09 21:32 ` [079/264] kobj_uevent: Ignore if some listeners cannot handle message Greg KH
2011-11-09 21:32 ` [080/264] caif: Fix BUG() with network namespaces Greg KH
2011-11-09 21:32 ` [081/264] platform: samsung_laptop: add dmi information for Samsung R700 laptops Greg KH
2011-11-09 21:32 ` [082/264] Platform: samsung_laptop: add support for X520 machines Greg KH
2011-11-09 21:32 ` [083/264] Platform: samsung_laptop: samsung backlight for R528/R728 Greg KH
2011-11-09 21:32 ` [084/264] platform: samsung_laptop: fix samsung brightness min/max calculations Greg KH
2011-11-09 21:32 ` [085/264] Platform: Fix error path in samsung-laptop init Greg KH
2011-11-09 21:32 ` [086/264] pnfsblock: fix return code confusion Greg KH
2011-11-09 21:32 ` [087/264] pnfsblock: fix size of upcall message Greg KH
2011-11-09 21:32 ` [088/264] pnfsblock: add missing rpc_put_mount and path_put Greg KH
2011-11-09 21:32 ` [089/264] pnfs: make _set_lo_fail generic Greg KH
2011-11-09 21:32 ` [090/264] pnfs: recoalesce when ld write pagelist fails Greg KH
2011-11-09 21:32 ` [091/264] pnfs: recoalesce when ld read " Greg KH
2011-11-09 21:32 ` [092/264] pnfsblock: fix NULL pointer dereference Greg KH
2011-11-09 21:32 ` [093/264] pnfsblock: fix writeback deadlock Greg KH
2011-11-09 21:32 ` [094/264] kmod: prevent kmod_loop_msg overflow in __request_module() Greg KH
2011-11-09 21:32 ` [095/264] Revert "NFS: Ensure that writeback_single_inode() calls write_inode() when syncing" Greg KH
2011-11-09 21:32 ` [096/264] SUNRPC/NFS: make rpc pipe upcall generic Greg KH
2011-11-09 21:32 ` [097/264] nfs: dont redirty inode when ncommit == 0 in nfs_commit_unstable_pages Greg KH
2011-11-09 21:32 ` [098/264] ata_piix: make DVD Drive recognisable on systems with Intel Sandybridge chipsets(v2) Greg KH
2011-11-09 21:32 ` [099/264] rtnetlink: Add missing manual netlink notification in dev_change_net_namespaces Greg KH
2011-11-09 21:32 ` [100/264] dp83640: free packet queues on remove Greg KH
2011-11-09 21:32 ` [101/264] mac80211: fix offchannel TX cookie matching Greg KH
2011-11-09 21:32 ` [102/264] net: hold sock reference while processing tx timestamps Greg KH
2011-11-09 21:32 ` [103/264] wl12xx: fix forced passive scans Greg KH
2011-11-09 21:32 ` [104/264] iwlagn: fix priv->cfg->ht_params NULL pointer dereference Greg KH
2011-11-09 21:32 ` [105/264] time: Change jiffies_to_clock_t() argument type to unsigned long Greg KH
2011-11-09 21:32 ` [106/264] apic, i386/bigsmp: Fix false warnings regarding logical APIC ID mismatches Greg KH
2011-11-09 21:32 ` [107/264] md/raid5: fix bug that could result in reads from a failed device Greg KH
2011-11-09 21:32 ` [108/264] perf probe: Fix to show correct error string Greg KH
2011-11-09 21:32 ` [109/264] ftrace/kprobes: Fix not to delete probes if in use Greg KH
2011-11-09 21:32 ` [110/264] tracing: Fix returning of duplicate data after EOF in trace_pipe_raw Greg KH
2011-11-09 21:32 ` [111/264] genirq: Add IRQF_RESUME_EARLY and resume such IRQs earlier Greg KH
2011-11-09 21:32 ` [112/264] nfs: dont try to migrate pages with active requests Greg KH
2011-11-09 21:32 ` [113/264] nfsd4: Remove check for a 32-bit cookie in nfsd4_readdir() Greg KH
2011-11-09 21:32 ` [114/264] nfsd4: stop using nfserr_resource for transitory errors Greg KH
2011-11-09 21:32 ` [115/264] nfsd4: fix seqid_mutating_error Greg KH
2011-11-09 21:32 ` [116/264] nfsd4: permit read opens of executable-only files Greg KH
2011-11-09 21:32 ` [117/264] nfsd4: fix open downgrade, again Greg KH
2011-11-09 21:32 ` [118/264] nfsd4: ignore WANT bits in open downgrade Greg KH
2011-11-09 21:32 ` [119/264] vfs: add "device" tag to /proc/self/mountstats Greg KH
2011-11-09 21:32 ` [120/264] io-mapping: ensure io_mapping_map_atomic _is_ atomic Greg KH
2011-11-09 21:32 ` [121/264] ASoC: wm8940: Properly set codec->dapm.bias_level Greg KH
2011-11-09 21:32 ` [122/264] ASoC: wm8741: Fix setting interface format for DSP modes Greg KH
2011-11-09 21:32 ` [123/264] ASoC: ak4642: fixup cache register table Greg KH
2011-11-09 21:32 ` [124/264] ASoC: ak4535: " Greg KH
2011-11-09 21:32 ` [125/264] ASoC: wm8996: Fix wrong mask for setting WM8996_AIF_CLOCKING_2 Greg KH
2011-11-09 21:32 ` [126/264] ASoC: wm8994: Fix setting rate_reg for wm8994-aif2 Greg KH
2011-11-09 21:32 ` [127/264] ASoC: wm8994: Use SND_SOC_DAPM_AIF_OUT for AIF3 Capture Greg KH
2011-11-09 21:32 ` [128/264] ASoC: Remove direct register cache accesses from WM8962 driver Greg KH
2011-11-09 21:32 ` [129/264] ASoC: Fix a bug in WM8962 DSP_A and DSP_B settings Greg KH
2011-11-09 21:32 ` [130/264] KVM: s390: check cpu_id prior to using it Greg KH
2011-11-09 21:32 ` [131/264] [S390] user per registers vs. ptrace single stepping Greg KH
2011-11-09 21:32 ` [132/264] [S390] memory leak with RCU_TABLE_FREE Greg KH
2011-11-09 21:33 ` [133/264] [S390] ccwgroup: move attributes to attribute group Greg KH
2011-11-09 21:33 ` [134/264] WMI: properly cleanup devices to avoid crashes Greg KH
2011-11-09 21:33 ` [135/264] iommu/amd: Fix wrong shift direction Greg KH
2011-11-09 21:33 ` [136/264] carminefb: Fix module parameters permissions Greg KH
2011-11-09 21:33 ` [137/264] fb: avoid possible deadlock caused by fb_set_suspend Greg KH
2011-11-09 21:33 ` [138/264] fb: sh-mobile: Fix deadlock risk between lock_fb_info() and console_lock() Greg KH
2011-11-09 21:33 ` [139/264] viafb: use display information in info not in var for panning Greg KH
2011-11-09 21:33 ` [140/264] viafb: improve pitch handling Greg KH
2011-11-09 21:33 ` Greg KH [this message]
2011-11-09 21:33 ` [142/264] [media] dib0700: protect the dib0700 buffer access Greg KH
2011-11-09 21:33 ` [143/264] [media] tuner_xc2028: Allow selection of the frequency adjustment code for XC3028 Greg KH
2011-11-09 21:33 ` [144/264] /proc/self/numa_maps: restore "huge" tag for hugetlb vmas Greg KH
2011-11-09 21:33 ` [145/264] md/raid10: Fix bug when activating a hot-spare Greg KH
2011-11-09 21:33 ` [146/264] plat-mxc: iomux-v3.h: implicitly enable pull-up/down when thats desired Greg KH
2011-11-09 21:33 ` [147/264] ARM: pxa/cm-x300: properly set bt_reset pin Greg KH
2011-11-09 21:33 ` [148/264] ARM: mach-ux500: unlock I&D l2x0 caches before init Greg KH
2011-11-09 21:33 ` [149/264] mm: avoid null pointer access in vm_struct via /proc/vmallocinfo Greg KH
2011-11-09 21:33 ` [150/264] ALSA: hda - Fix ADC input-amp handling for Cx20549 codec Greg KH
2011-11-09 21:33 ` [151/264] iwlagn: do not use interruptible waits Greg KH
2011-11-09 21:33 ` [152/264] um: fix ubd cow size Greg KH
2011-11-09 21:33 ` [153/264] readlinkat: ensure we return ENOENT for the empty pathname for normal lookups Greg KH
2011-11-09 21:33 ` [154/264] um: Fix kmalloc argument order in um/vdso/vma.c Greg KH
2011-11-09 21:33 ` [155/264] OMAP: SPI: Fix the trying to free nonexistent resource error Greg KH
2011-11-09 21:33 ` [156/264] jsm: remove buggy write queue Greg KH
2011-11-09 21:33 ` [157/264] ipv4: fix ipsec forward performance regression Greg KH
2011-11-09 21:33 ` [158/264] ipv6: fix route error binding peer in func icmp6_dst_alloc Greg KH
2011-11-09 21:33 ` [159/264] tg3: fix tigon3_dma_hwbug_workaround() Greg KH
2011-11-09 21:33 ` [160/264] mm: thp: tail page refcounting fix Greg KH
2011-11-09 21:33 ` [161/264] binfmt_elf: fix PIE execution with randomization disabled Greg KH
2011-11-09 21:33 ` [162/264] ALSA: hda - Add missing static ADC tables for ALC269 quirks Greg KH
2011-11-09 21:33 ` [163/264] drivers/net/rionet.c: fix ethernet address macros for LE platforms Greg KH
2011-11-09 21:33 ` [164/264] hwspinlock/core: use a mutex to protect the radix tree Greg KH
2011-11-09 21:33 ` [165/264] drivers/power/ds2780_battery.c: create central point for calling w1 interface Greg KH
2011-11-09 21:33 ` [166/264] drivers/power/ds2780_battery.c: add a nolock function to " Greg KH
2011-11-09 21:33 ` [167/264] drivers/power/ds2780_battery.c: fix deadlock upon insertion and removal Greg KH
2011-11-09 21:33 ` [168/264] ext2,ext3,ext4: dont inherit APPEND_FL or IMMUTABLE_FL for new inodes Greg KH
2011-11-09 21:33 ` [169/264] ext4: ext4_rename should dirty dir_bh with the correct directory Greg KH
2011-11-09 21:33 ` [170/264] ext4: ext4_mkdir should dirty dir_block with newly created directory inode Greg KH
2011-11-09 21:33 ` [171/264] ext4: call ext4_handle_dirty_metadata with correct inode in ext4_dx_add_entry Greg KH
2011-11-09 21:33 ` [172/264] ext4: let ext4_page_mkwrite stop started handle in failure Greg KH
2011-11-09 21:33 ` [173/264] ext4: fix race in xattr block allocation path Greg KH
2011-11-09 21:33 ` [174/264] usb_storage: Dont freeze in usb-stor-scan Greg KH
2011-11-09 21:33 ` [175/264] xhci: If no endpoints changed, dont issue BW command Greg KH
2011-11-09 21:33 ` [176/264] xHCI: test and clear RWC bit Greg KH
2011-11-09 21:33 ` [177/264] xHCI: Clear PLC for USB2 root hub ports Greg KH
2011-11-09 21:33 ` [178/264] powerpc: remove superfluous PageTail checks on the pte gup_fast Greg KH
2011-11-09 21:33 ` [179/264] powerpc: get_hugepte() dont put_page() the wrong page Greg KH
2011-11-09 21:33 ` [180/264] powerpc: gup_hugepte() avoid freeing the head page too many times Greg KH
2011-11-09 21:33 ` [181/264] powerpc: gup_hugepte() support THP based tail recounting Greg KH
2011-11-09 21:33 ` [182/264] powerpc: gup_huge_pmd() return 0 if pte changes Greg KH
2011-11-09 21:33 ` [183/264] s390: gup_huge_pmd() support THP tail recounting Greg KH
2011-11-09 21:33 ` [184/264] s390: gup_huge_pmd() return 0 if pte changes Greg KH
2011-11-09 21:33 ` [185/264] sparc: gup_pte_range() support THP based tail recounting Greg KH
2011-11-09 21:33 ` [186/264] thp: share get_huge_page_tail() Greg KH
2011-11-09 21:33 ` [187/264] net: Unlock sock before calling sk_free() Greg KH
2011-11-09 21:33 ` [188/264] ALSA: ua101: fix crash when unplugging Greg KH
2011-11-09 21:33 ` [189/264] ALSA: hda - Disable power-widget control for IDT 92HD83/93 as default Greg KH
2011-11-09 21:33 ` [190/264] ALSA: hda - Add support for 92HD65 / 92HD66 family of codecs Greg KH
2011-11-09 21:33 ` [191/264] ALSA: hda/realtek - Dont create alt-stream for capture when unnecessary Greg KH
2011-11-09 21:33 ` [192/264] ALSA: hda/realtek - Skip invalid digital out pins Greg KH
2011-11-09 21:34 ` [193/264] ALSA: hda - Fix silent output regression with ALC861 Greg KH
2011-11-09 21:34 ` [194/264] ALSA: hda - Fix a regression for DMA-position check with CA0110 Greg KH
2011-11-09 21:34 ` [195/264] drm/radeon: avoid bouncing connector status btw disconnected & unknown Greg KH
2011-11-09 21:34 ` [196/264] drm/radeon/kms: split MSI check into a separate function Greg KH
2011-11-09 21:34 ` [197/264] drm/radeon/kms: Add MSI quirk for HP RS690 Greg KH
2011-11-09 21:34 ` [198/264] drm/radeon: set hpd polarity at init time so hotplug detect works Greg KH
2011-11-09 21:34 ` [199/264] drm/radeon/kms: properly set panel mode for eDP Greg KH
2011-11-09 21:34 ` [200/264] drm/radeon/kms: Add MSI quirk for Dell RS690 Greg KH
2011-11-09 21:34 ` [201/264] drm/radeon/kms: add MSI module parameter Greg KH
2011-11-09 21:34 ` [202/264] drm/radeon/kms: set HPD polarity in hpd_init() Greg KH
2011-11-09 21:34 ` [203/264] kbuild: Fix help text not displayed in choice option Greg KH
2011-11-09 21:34 ` [204/264] PM / Runtime: Automatically retry failed autosuspends Greg KH
2011-11-09 21:34 ` [205/264] USB: Update last_busy time after autosuspend fails Greg KH
2011-11-09 21:34 ` [206/264] cciss: add small delay when using PCI Power Management to reset for kump Greg KH
2011-11-09 21:34 ` [207/264] hwmon: (coretemp) Fix for non-SMP builds Greg KH
2011-11-09 21:34 ` [208/264] hwmon: (w83627ehf) Properly report PECI and AMD-SI sensor types Greg KH
2011-11-09 21:34 ` [209/264] hwmon: (w83627ehf) Fix broken driver init Greg KH
2011-11-09 21:34 ` [210/264] tcm_loop: Add explict read buffer memset for SCF_SCSI_CONTROL_SG_IO_CDB Greg KH
2011-11-09 21:34 ` [211/264] iscsi-target: Add missing CMDSN_LOWER_THAN_EXP check in iscsit_handle_scsi_cmd Greg KH
2011-11-09 21:34 ` [212/264] iscsi-target: Fix non-immediate TMR handling Greg KH
2011-11-09 21:34 ` [213/264] [SCSI] st: fix race in st_scsi_execute_end Greg KH
2011-11-09 21:34 ` [214/264] [SCSI] scsi_dh: check queuedata pointer before proceeding further Greg KH
2011-11-09 21:34 ` [215/264] [SCSI] Make scsi_free_queue() kill pending SCSI commands Greg KH
2011-11-09 21:34 ` [216/264] [SCSI] Fix block queue and elevator memory leak in scsi_alloc_sdev Greg KH
2011-11-09 21:34 ` [217/264] [SCSI] mpt2sas: Fix for system hang when discovery in progress Greg KH
2011-11-09 21:34 ` [218/264] ASoC: wm8711: Fix wrong mask for setting input audio data bit length select Greg KH
2011-11-09 21:34 ` [219/264] ASoC: Leave input audio data bit length settings untouched in wm8711_set_dai_fmt Greg KH
2011-11-09 21:34 ` [220/264] ASoC: WM8904: Set `invert bit for Capture Switch Greg KH
2011-11-09 21:34 ` [221/264] ASoC: Ensure WM8962 PLL registers are reset Greg KH
2011-11-09 21:34 ` [222/264] ASoC: Ensure the WM8962 oscillator and PLLs start up disabled Greg KH
2011-11-09 21:34 ` [223/264] ASoC: Ensure we always delay for WM8962 FLL when starting from SYSCLK Greg KH
2011-11-09 21:34 ` [224/264] NFS/sunrpc: dont use a credential with extra groups Greg KH
2011-11-09 21:34 ` [225/264] block: make gendisk hold a reference to its queue Greg KH
2011-11-09 21:34 ` [226/264] xen/blkback: Report VBD_WSECT (wr_sect) properly Greg KH
2011-11-09 21:34 ` [227/264] VFS: fix statfs() automounter semantics regression Greg KH
2011-11-09 21:34 ` [228/264] hpsa: add small delay when using PCI Power Management to reset for kump Greg KH
2011-11-09 21:34 ` [229/264] blk-flush: fix invalid BUG_ON in blk_insert_flush Greg KH
2011-11-09 21:34 ` [230/264] blk-flush: move the queue kick into Greg KH
2011-11-09 21:34 ` [231/264] VFS: we need to set LOOKUP_JUMPED on mountpoint crossing Greg KH
2011-11-09 21:34 ` [232/264] target: Fix incorrect se_cmd assignment in core_tmr_drain_tmr_list Greg KH
2011-11-09 21:34 ` [233/264] target: Fix wrong se_tmr being added to drain_tmr_list Greg KH
2011-11-09 21:34 ` [234/264] powerpc/numa: Remove double of_node_put in hot_add_node_scn_to_nid Greg KH
2011-11-09 21:34 ` [235/264] powerpc: Fix oops when echoing bad values to /sys/devices/system/memory/probe Greg KH
2011-11-09 21:34 ` [236/264] powerpc/pseries: Avoid spurious error during hotplug CPU add Greg KH
2011-11-09 21:34 ` [237/264] powerpc/eeh: Fix /proc/ppc64/eeh creation Greg KH
2011-11-09 21:34 ` [238/264] powerpc: Fix deadlock in icswx code Greg KH
2011-11-09 21:34 ` [239/264] ACPI atomicio: Convert width in bits to bytes in __acpi_ioremap_fast() Greg KH
2011-11-09 21:34 ` [240/264] ACPI: Fix CONFIG_ACPI_DOCK=n compiler warning Greg KH
2011-11-09 21:34 ` [241/264] netlink: validate NLA_MSECS length Greg KH
2011-11-09 21:34 ` [242/264] ath9k_hw: Update AR9485 initvals to fix system hang issue Greg KH
2011-11-09 21:34 ` [243/264] mac80211: fix remain_off_channel regression Greg KH
2011-11-09 21:34 ` [244/264] mac80211: config hw when going back on-channel Greg KH
2011-11-09 21:34 ` [245/264] mac80211: disable powersave for broken APs Greg KH
2011-11-09 21:34 ` [246/264] mtd: mtdchar: add missing initializer on raw write Greg KH
2011-11-09 21:34 ` [247/264] mtd: provide an alias for the redboot module name Greg KH
2011-11-09 21:34 ` [248/264] mtd: pxa3xx_nand: fix nand detection issue Greg KH
2011-11-09 21:34 ` [249/264] mtd: pxa3xx_nand: Fix blank page ECC mismatch Greg KH
2011-11-09 21:34 ` [250/264] PM / Suspend: Off by one in pm_suspend() Greg KH
2011-11-09 21:34 ` [251/264] crypto: cryptd - Use subsys_initcall to prevent races with aesni Greg KH
2011-11-09 21:34 ` [252/264] dp83640: use proper function to free transmit time stamping packets Greg KH
2011-11-09 21:35 ` [253/264] ath9k_hw: Fix regression of register offset for AR9003 chips Greg KH
2011-11-09 21:35 ` [254/264] md/raid5: abort any pending parity operations when array fails Greg KH
2011-11-09 21:35 ` [255/264] md/raid5: STRIPE_ACTIVE has lock semantics, add barriers Greg KH
2011-11-09 21:35 ` [256/264] mtd: nand_base: always initialise oob_poi before writing OOB data Greg KH
2011-11-09 21:35 ` [257/264] HID: add support for MacBookAir4,2 keyboard Greg KH
2011-11-09 21:35 ` [258/264] HID: hid-multitouch: Add LG Display Multitouch device Greg KH
2011-11-09 21:35 ` [259/264] HID: add MacBookAir4,2 to hid_have_special_driver[] Greg KH
2011-11-09 21:35 ` [260/264] HID: Add support MacbookAir 4,1 keyboard Greg KH
2011-11-09 21:35 ` [261/264] HID: Add device IDs for Macbook Pro 8 keyboards Greg KH
2011-11-09 21:35 ` [262/264] HID: hid-apple: add device ID of another wireless aluminium Greg KH
2011-11-09 21:35 ` [263/264] HID: consolidate MacbookAir 4,1 mappings Greg KH
2011-11-09 21:35 ` [264/264] hid/apple: modern macbook airs use the standard apple function key translations Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111109213156.339635837@clark.kroah.org \
    --to=gregkh@suse.de \
    --cc=Patrick.Boettcher@dibcom.fr \
    --cc=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=florian@mickler.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@redhat.com \
    --cc=olivier.grenie@dibcom.fr \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).