as3525: do not read i2c2_cpsr* registers because the clock might be disabled
commit6fd3d7b007fcd216456fe65b0f12edb89323b0c7
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Tue, 23 Mar 2010 09:20:12 +0000 (23 09:20 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Tue, 23 Mar 2010 09:20:12 +0000 (23 09:20 +0000)
tree0c9f94c30d08f5683cc439cab837c14479f0e5d4
parentbb450b3c2195759f15a072ad7075606bc785a258
as3525: do not read i2c2_cpsr* registers because the clock might be disabled

The registers value does not change so we don't need to read them
This avoids dividing by 0

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