]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 5203/1: i2c-pxa: fix scheduling while atomic in i2c_pxa_abort()
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Mon, 18 Aug 2008 13:38:48 +0000 (14:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 9 Sep 2008 15:32:51 +0000 (16:32 +0100)
commit387fa6a5eca021ed5bef5454413b7cdfda74ba41
tree4bfd563146ca2dc77b7d489f4d33011c36b043bb
parent9ba63c4fa10cf446eff06a3200822d22b0c31c31
[ARM] 5203/1: i2c-pxa: fix scheduling while atomic in i2c_pxa_abort()

i2c_pxa_abort can be called from the atomic context.
Change it to use mdelay and counted loop.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/i2c/busses/i2c-pxa.c