Re: [spi-devel-general] SPI device driver suspend

2007-12-28 Thread chri
On Dec 28, 2007 7:21 PM, David Brownell <[EMAIL PROTECTED]> wrote: > > Hmm, I thought that create_singlethread_workqueue() was > supposed to create non-freezable workqueues ... which won't > be stopped before the suspend() callback dance begins. > > Are you sure that's the reason for your deadlock?

[spi-devel-general] spi-devel-general

2007-12-28 Thread 回复:
高 级 文 秘 职 业 化 训 练 中――国・深――圳・2008 年01月5-6日 中――国・上――海・2008 年01月12-13日 ━━━ ● 授/课/对/象 企业中层行政管理干部和文秘工作人员,包括办公室主任、行政部经理、董事长秘书、 总经理秘书、行政助理、行政主管、行政部门文员等 主/办/单/位:众/人/行/管/理/咨/

[spi-devel-general] [patch 2.6.24-rc6-mm 7/9] gpiolib: mcp23s08 spi gpio expander support

2007-12-28 Thread David Brownell
From: David Brownell <[EMAIL PROTECTED]> Basic driver for 8-bit SPI based MCP23S08 GPIO expander, without support for IRQs or the shared chipselect mechanism. Signed-off-by: David Brownell <[EMAIL PROTECTED]> --- drivers/gpio/Kconfig |7 drivers/gpio/Makefile|1 drivers

Re: [spi-devel-general] [PATCH 11/12] spi : Use mutex instead of semaphore in driver core

2007-12-28 Thread David Brownell
On Friday 28 December 2007, Dave Young wrote: > Signed-off-by: Dave Young <[EMAIL PROTECTED]> ACK ... if the driver core is changing, this is obvious. > --- > drivers/spi/spi.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff -upr linux/drivers/spi/spi.c linux.new/drivers

[spi-devel-general] [PATCH 11/12] spi : Use mutex instead of semaphore in driver core

2007-12-28 Thread Dave Young
Signed-off-by: Dave Young <[EMAIL PROTECTED]> --- drivers/spi/spi.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -upr linux/drivers/spi/spi.c linux.new/drivers/spi/spi.c --- linux/drivers/spi/spi.c 2007-12-28 10:47:38.0 +0800 +++ linux.new/drivers/spi/spi.c 2007-1

Re: [spi-devel-general] SPI device driver suspend

2007-12-28 Thread David Brownell
On Friday 28 December 2007, chri wrote: > Hi, > > I'm facing a problem with a driver for a SPI device: I think the > problem may be more general or perhaps I'm just missing something > obvious. I want to put a SPI device to sleep and this is done by > sending a command on the SPI bus. The first pl

[spi-devel-general] SPI device driver suspend

2007-12-28 Thread chri
Hi, I'm facing a problem with a driver for a SPI device: I think the problem may be more general or perhaps I'm just missing something obvious. I want to put a SPI device to sleep and this is done by sending a command on the SPI bus. The first place I tried is the suspend callback of struct spi_dr