From: Stephen Warren Date: Mon, 23 Jun 2014 20:53:25 +0000 (-0600) Subject: regulator: palmas: fix typo in enable_reg calculation X-Git-Tag: omap-for-v3.16/fixes-rc4~38^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b01bd11b78b71ea1f5fc93e6e45ce6d71f5de1b;p=pandora-kernel.git regulator: palmas: fix typo in enable_reg calculation When setting up .enable_reg for an SMPS regulator, presumably we should call PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, ...) rather than using LDO_BASE. This change makes the LCD panel and HDMI work again on the NVIDIA Dalmore board anyway. Fixes: 318dbb02b50c ("regulator: palmas: Fix SMPS enable/disable/is_enabled") Signed-off-by: Stephen Warren Acked-by: Nishanth Menon Tested-by: Alexandre Courbot Signed-off-by: Mark Brown --- Reading git-diff-tree failed