aboutsummaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2014-03-08 11:55:29 +0800
committerMark Brown <[email protected]>2014-04-14 22:16:25 +0100
commit1cb7b43f6796ad0bc62669fa52d1005916911d27 (patch)
tree19b84eaaf562c396fca70ef1a9a27a4443d6c877 /net/lapb
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff)
regulator: pbias: Fix is_enabled callback implementation
The is_enabled implementation is wrong in some cases: e.g. for pbias_mmc_omap5: enable_mask is : BIT(27) | BIT(25) | BIT(26) However, pbias_regulator_enable() only sets BIT(27) | BIT(26) bits. So is_enabled callback will always return false in this case. Fix the logic to compare the register value with info->enable rather than info->enable_mask. Signed-off-by: Axel Lin <[email protected]> Acked-by: Balaji T K <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions