@cute_prince after flashing the December patches, I'm unable to boot any kernel from fastboot (except recovery). I've made a couple of changes to the driver which removed the 'maxim,max98927L' from the ID table, but I still don't have any way to test the changes. Also, I think that this dmesg warning is the key.
Code:[ 9.097167] i2c-msm-v2 78b6000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0d1300c8 OPER:0x00000010
The slave address matches the one in the device tree, which means that the amp stopped responding to the i2c messages. If you're able to, try to find out the line after which this happens (it is definitely max98927_probe) by adding print statements (I would try doing that but my phone isn't booting any custom kernel at all).
Also, reset_gpio_l isn't saved in the struct, it is local to the function.
Dude, you are awsome mann That i2c error message indeed is the key. I see the name of driver in our max98927.c is "max98927" and in the leeco's dts file it is being referenced by "max98927@3a". Whereas in A1 dts file it is being referenced by "spkamp@3a". Maybe changing "spkamp@3a" to "max98927@3a" will solve the problem . What do you think ?
Last edited: