Re: [PATCH 2/2] regulator: max77686: Implement .set_ramp_delay() callback.

From: Axel Lin
Date: Tue Jun 19 2012 - 08:24:06 EST


> return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
>                          ramp_value << 6);

Typo, should be:
return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
MAX77686_RAMP_RATE_MASK, ramp_value << 6);

>
> How do you think?
>
> Regards,
> Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/