As to seeing left-shifts of zeros - It's a common thing in hardware so that you ha ve source code which explicitly says "I am setting this flag to 0". (The idea being that sometimes it might be nonzero, and you just have to change the 0 to something else, rather than add in the whole line.)
e.g. it's easier to have a bunch of flag-setting stuff, and pop in 0s where it's 0, than to not have the flag-setting stuff at all. (it makes hardware people go AAAARRRGH NOW I HAVE TO CALCULATE WHAT'S GOING INTO THAT REGISTER!!!!!)
As to the SMB136 taking over - not surprised, if you recall the first post of my I777 kernel thread, it's the same deal in the GS2, except we have a MAX8922. For whatever reason, the MAX8997 has charger circuitry, it is in the source, but it is never used!
Makes sense to disable all USB when on high-current charging, considering that unless you override the detection modes, anything that triggers high-current charging will not be able to support USB data transfer.
*so much sig updating needed*
My Github profile - Some Android stuff, some AVR stuff
An excellent post on "noobs vs. developers"
A few opinions on kernel development "good practices"
Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
<Entropy512> gotta be careful not to step on each other's work. :)
<Bumble-Bee> thats true
<jerdog> compeete for donations