lkml.org 
[lkml]   [2012]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC] regulator: Fix the logic of s5m8767_set_voltage_time_sel
On Fri, Feb 24, 2012 at 02:52:45PM +0800, Axel Lin wrote:
> This patch includes below fixes:
> 1. The mask variable is not used at all here, remove it.
> 2. We already have the new_sel and old_sel, simply returns the delay by:
> DIV_ROUND_UP(desc->step * (new_sel - old_sel), s5m8767->ramp_delay);

Applied, thanks.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-03-01 00:25    [W:0.039 / U:6.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site