Re: regulator: ab8500-ext: Strange set_mode behavior when info->cfg->hwreq is set

2013-04-10 Thread Bengt Jönsson
On 04/09/2013 05:01 PM, Axel Lin wrote: Hi, I see below code && comments in enable() function: /* * To satisfy both HW high power request and SW request, the regulator * must be on in high power. */ if (info->cfg && info->cfg->hwreq)

Re: regulator: ab8500-ext: Strange set_mode behavior when info-cfg-hwreq is set

2013-04-10 Thread Bengt Jönsson
On 04/09/2013 05:01 PM, Axel Lin wrote: Hi, I see below code comments in enable() function: /* * To satisfy both HW high power request and SW request, the regulator * must be on in high power. */ if (info-cfg info-cfg-hwreq)

regulator: ab8500-ext: Strange set_mode behavior when info->cfg->hwreq is set

2013-04-09 Thread Axel Lin
Hi, I see below code && comments in enable() function: /* * To satisfy both HW high power request and SW request, the regulator * must be on in high power. */ if (info->cfg && info->cfg->hwreq) *regval = info->update_val_hp; I'm not

regulator: ab8500-ext: Strange set_mode behavior when info-cfg-hwreq is set

2013-04-09 Thread Axel Lin
Hi, I see below code comments in enable() function: /* * To satisfy both HW high power request and SW request, the regulator * must be on in high power. */ if (info-cfg info-cfg-hwreq) *regval = info-update_val_hp; I'm not very clear