 
            
            
            
            
                6 Apr
                
                    2018
                
            
            
                6 Apr
                
                '18
                
            
            
            
        
    
                7:01 a.m.
            
        On Thu, Apr 05, 2018 at 06:14:58PM -0500, Pierre-Louis Bossart wrote:
On 4/5/18 11:48 AM, Vinod Koul wrote:
- /* Program DPN_SampleCtrl2 register */
- wbuf = ((t_params->sample_interval - 1) &
SDW_DPN_SAMPLECTRL_HIGH) >>
SDW_REG_SHIFT(SDW_DPN_SAMPLECTRL_HIGH);wbuf = t_params->sample_interval - 1; wbuf &= SDW_DPN_SAMPLECTRL_HIGH); wbuf >>= SDW_REG_SHIFT(SDW_DPN_SAMPLECTRL_HIGH);
same lines of code, simpler to read?
ok will fix both of these
-- 
~Vinod