arm: mach-omap2: board-rm680: fix rm680_vemmc regulator constraints
Subsystems (3)
PATCH 1/1 arm: mach-omap2: board-rm680: fix rm680_vemmc regulator constraints
With the commit 757902513019e6ee469791ff76f954b19ca8d036 fixed voltage regulator setup will fail if there are voltage constraints defined. This made MMC unusable on this board. Fix by just deleting those redundant constraints.
--- arch/arm/mach-omap2/board-rm680.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
arch/arm/mach-omap2/board-rm680.c +0 -3
@@ -40,9 +40,6 @@ static struct regulator_consumer_supply rm680_vemmc_consumers[] = {static struct regulator_init_data rm680_vemmc = { .constraints = { .name ="rm680_vemmc" , - .min_uV =2900000 , - .max_uV =2900000 , - .apply_uV =1 , .valid_modes_mask =REGULATOR_MODE_NORMAL |REGULATOR_MODE_STANDBY , .valid_ops_mask =REGULATOR_CHANGE_STATUS
Signature · 1 line
1.5.6.5
PATCH 1/1 arm: mach-omap2: board-rm680: fix rm680_vemmc regulator constraints
Quoted 5 lines · On Tue, 1 Feb 2011 17:36:28 +0200 Aaro Koskinen <[email protected]>…
With the commit
757902513019e6ee469791ff76f954b19ca8d036fixed voltage regulator setup will fail if there are voltage constraints defined. This made MMC unusable on this board. Fix by just deleting those redundant constraints.
True. Before there were a test min_uV == max_uV && ops->set_voltage and now min_uV == max_uV followed by test for ops->set_voltage that returns EINVAL if not set (NULL for fixed voltage regulator obviously).
Tony Lindgren
maintainerPATCH 1/1 arm: mach-omap2: board-rm680: fix rm680_vemmc regulator constraints
Quoted 8 lines · Jarkko Nikula
Quoted 5 lines · On Tue, 1 Feb 2011 17:36:28 +0200 Aaro Koskinen <[email protected]>…
With the commit
757902513019e6ee469791ff76f954b19ca8d036fixed voltage regulator setup will fail if there are voltage constraints defined. This made MMC unusable on this board. Fix by just deleting those redundant constraints.
Quoted 5 lines
True. Before there were a test
min_uV==max_uV&&ops->set_voltageand nowmin_uV==max_uVfollowed by test forops->set_voltagethat returns EINVAL if not set (NULL for fixed voltage regulator obviously).Reviewed-by Jarkko Nikula <[email protected]>
Thanks adding into devel-fixes.
Tony
PATCH 1/1 arm: mach-omap2: board-rm680: fix rm680_vemmc regulator constraints
In reply to Aaro KoskinenHello.
Quoted 1 line · Aaro Koskinen
With the commit
757902513019e6ee469791ff76f954b19ca8d036fixed voltage
Please also specify the commit summary in parens, as asked by Linus.
Quoted 5 lines
regulator setup will fail if there are voltage constraints defined. This made MMC unusable on this board. Fix by just deleting those redundant constraints.
Signed-off-by Aaro Koskinen<[email protected]>
WBR, Sergei