i2c: omap: Move the remove constraint
authorShubhrajyoti D <shubhrajyoti@ti.com>
Thu, 15 Nov 2012 08:49:21 +0000 (14:19 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Fri, 16 Nov 2012 14:18:52 +0000 (15:18 +0100)
commit1ab3604595af478e9feea430318c22899015550c
treedfe185138a1f6be908a5b12fa1d828041cf7934b
parent06e9eff129ec4251e5335ecaebe1aabba78091b6
i2c: omap: Move the remove constraint

Currently we just queue the transfer and release the
qos constraints, however we do not wait for the transfer
to complete to release the constraint. Move the remove
constraint after the bus busy as we are sure that the
transfers are completed by then.

Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-omap.c