Use I2C2_DACNT register (number of pending i2c bytes to read/write) to determine...
commit9e851fa36637a3858f493c3758fa910b4d803d24
authorbertrik <bertrik@a1c6a512-1295-4272-9138-f99709370657>
Sun, 31 May 2009 17:48:19 +0000 (31 17:48 +0000)
committerbertrik <bertrik@a1c6a512-1295-4272-9138-f99709370657>
Sun, 31 May 2009 17:48:19 +0000 (31 17:48 +0000)
tree1440bbb425becb523fb9ff258d59d0db3721e4bf
parenta0e342b0f413679aa400f3f5b3db1e2b198fe5da
Use I2C2_DACNT register (number of pending i2c bytes to read/write) to determine if an ascodec i2c transfer is done. This should fix i2c problems with MMU enabled.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21150 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/as3525/ascodec-as3525.c