From: Axel Lin Date: Mon, 16 Jul 2012 16:10:42 +0000 (+0800) Subject: regulator: anatop: Fix wrong mask used in anatop_get_voltage_sel X-Git-Tag: v3.6-rc3~24^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e2a928472daa839e7be0d71c1d8320334ea76e1;p=pandora-kernel.git regulator: anatop: Fix wrong mask used in anatop_get_voltage_sel The mask used in anatop_get_voltage_sel does not match the mask used in anatop_set_voltage_sel. We need to do left shift anatop_reg->vol_bit_shift bits for the correct mask. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed