[alsa-devel] ASoC: ssm2518: bug in ssm2518_set_tdm_slot
 
            
            
            
            
                10 Jun
                
                    2013
                
            
            
                10 Jun
                
                '13
                
            
            
            
        
    
                3:39 p.m.
            
        ASoC: ssm2518: bug in ssm2518_set_tdm_slot
The code in ssm2518_set_tdm_slot looks wrong:
if (tx_mask == 0 || tx_mask != 0) return -EINVAL;
So ssm2518_set_tdm_slot() always returns error.
 
            
            
            
            
                10 Jun
                
            
            
                10 Jun
                
            
            
            
        
    
                3:56 p.m.
            
        On 06/10/2013 03:39 PM, Axel Lin wrote:
ASoC: ssm2518: bug in ssm2518_set_tdm_slot
The code in ssm2518_set_tdm_slot looks wrong:
if (tx_mask == 0 || tx_mask != 0) return -EINVAL;So ssm2518_set_tdm_slot() always returns error.
Ah, damm, the second should be rx_mask. Do you want to sent a fix, or want me to do it?
Thanks, - Lars
        4526
        
      
          Age (days ago)
        
      
        4526
        
    
          Last active (days ago)
        
        
        
        1 comments
    
    
        
        2 participants
    
    
    
    
    
    
    
    
    participants (2)
- 
                 Axel Lin Axel Lin
- 
                 Lars-Peter Clausen Lars-Peter Clausen