2015-07-22 16:58 GMT+08:00 Alexander Stein alexander.stein@systec-electronic.com:
On Wednesday 22 July 2015 11:27:45, Axel Lin wrote:
Currently, below code actually does not update any bit because SGTL5000_SMALL_POP is 0.
snd_soc_update_bits(codec, SGTL5000_CHIP_REF_CTRL, SGTL5000_SMALL_POP, 1);
The SGTL5000_SMALL_POP should be BIT(0) rather than 0, fix it.
Signed-off-by: Axel Lin axel.lin@ingics.com
I can not test this right now, but it seems appropriate. Acked-By: Alexander Stein alexander.stein@systec-electronic.com
Hi, I don't have h/w and datasheet, but the code looks obvious does not make sense. Can someone help to confirm and test if this patch?
The datasheet can be found online: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=SGTL5000&...
I just checked the datasheet and confirm the SMALL_POP is BIT(0). Thanks, Axel