 
            
            
            
            
                10 May
                
                    2013
                
            
            
                10 May
                
                '13
                
            
            
            
        
    
                6:37 p.m.
            
        On 05/09/2013 05:15 PM, Fabio Estevam wrote:
From: Fabio Estevam fabio.estevam@freescale.com
The usual place for reading chip ID is inside i2c_probe, so move it there and also convert it to regmap.
sgtl5000_enable_regulators() needs to read the chip revision, so keep the revision check there.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
Changes since v4:
Just introduced in this version.
sound/soc/codecs/sgtl5000.c | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-)
Tested-by: Eric Nelson eric.nelson@boundarydevices.com