[lkml]   [2021]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] regulator: rt6160: Convert to use regulator_set_ramp_delay_regmap
cy_huang(黃啟原) <> 於 2021年6月3日 週四 下午6:20寫道:
> Hi, Axel:> Use regulator_set_ramp_delay_regmap instead of open-coded.
> >
> There's some reason.
> You can refer to
> It's because our ramp value order is from small to large, not large to small.
> It conflicts with find_closest_bigger value chosen logic.

I have verified the rt6160_set_ramp_delay() behavior exactly the same as
regulator_set_ramp_delay_regmap. (both functions get the same selector
for a given delay)

Could you check if this patch works?


 \ /
  Last update: 2021-06-03 12:30    [W:2.547 / U:1.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site