Commit 90a82b2d authored by Mark Brown's avatar Mark Brown

trivial fixes for raa215300 driver

Merge series from Biju Das <biju.das.jz@bp.renesas.com>:

This patch series aims to add trivial fixes for raa215300 driver.
These issues were reported by Pavel while backporting this patch
to 6.1.y cip kernel[1].

[1] https://lore.kernel.org/all/ZN3%2FSjL50ls+3dnD@duo.ucw.cz/

v1->v2:
 * Split Kconfig and add missing space for comment block as separate
   patch.

Biju Das (3):
  regulator: raa215300: Change rate from 32000->32768
  regulator: raa215300: Add missing blank space
  regulator: raa215300: Update help description

 drivers/regulator/Kconfig     | 6 +++++-
 drivers/regulator/raa215300.c | 4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

--
2.25.1
parents 35acbdfa 8845252f
......@@ -1072,7 +1072,11 @@ config REGULATOR_RAA215300
depends on COMMON_CLK
depends on I2C
help
Support for the Renesas RAA215300 PMIC.
If you say yes to this option, support will be included for the
Renesas RAA215300 PMIC.
Say M here if you want to include support for Renesas RAA215300 PMIC
as a module. The module will be named "raa215300".
config REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
tristate "Raspberry Pi 7-inch touchscreen panel ATTINY regulator"
......
......@@ -86,7 +86,7 @@ static int raa215300_i2c_probe(struct i2c_client *client)
val &= RAA215300_REG_BLOCK_EN_RTC_EN;
regmap_write(regmap, RAA215300_REG_BLOCK_EN, val);
/*Clear the latched registers */
/* Clear the latched registers */
regmap_read(regmap, RAA215300_FAULT_LATCHED_STATUS_1, &val);
regmap_write(regmap, RAA215300_FAULT_LATCHED_STATUS_1, val);
regmap_read(regmap, RAA215300_FAULT_LATCHED_STATUS_2, &val);
......@@ -127,7 +127,7 @@ static int raa215300_i2c_probe(struct i2c_client *client)
struct clk_hw *hw;
ssize_t size;
hw = devm_clk_hw_register_fixed_rate(dev, clk_name, NULL, 0, 32000);
hw = devm_clk_hw_register_fixed_rate(dev, clk_name, NULL, 0, 32768);
if (IS_ERR(hw))
return PTR_ERR(hw);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment