An error occurred while fetching folder content.
mfd: max77620: Fix FPS switch statements
Rhyland Klein authored
When configuring FPS during probe, assuming a DT node is present for
FPS, the code can run into a problem with the switch statements in
max77620_config_fps() and max77620_get_fps_period_reg_value(). Namely,
in the case of chip->chip_id == MAX77620, it will set
fps_[mix|max]_period but then fall through to the default switch case
and return -EINVAL. Returning this from max77620_config_fps() will
cause probe to fail.
Signed-off-by: default avatarRhyland Klein <rklein@nvidia.com>
Reviewed-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
Tested-by: default avatarThierry Reding <treding@nvidia.com>
Tested-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
82d8eb40
Name Last commit Last update
..
88pm800.c mfd: Drop owner assignment from i2c_drivers
88pm805.c mfd: Drop owner assignment from i2c_drivers
88pm80x.c mfd: Use to_i2c_client() instead of open-coding it
88pm860x-core.c mfd: 88pm860x-core: Fix commenting and declaration spacing
88pm860x-i2c.c mfd: 88pm860x-i2c: Fix variable length array Sparse warning
Kconfig mfd: hi655x: Add MFD driver for hi655x
Makefile mfd: hi655x: Add MFD driver for hi655x
aat2870-core.c mfd: aat2870-core: Remove unnecessary 'out of memory' message
ab3100-core.c mfd: ab3100-core.c: Fix multiple warnings reported by Checkpatch
ab3100-otp.c mfd: ab2100-otp: Remove pointless 'out of memory' error message
ab8500-core.c mfd: ab8500-core: Fix many warnings reported by Checkpatch
ab8500-debugfs.c mfd: ab8500-debugfs: fix "between" in printk
ab8500-gpadc.c mfd: ab8500-gpadc: Squash a whole bunch of Checkpatch warnings and one error
ab8500-sysctrl.c mfd: ab8500-sysctrl: Fix Constify, printk => pr_info and formatting issues
abx500-core.c mfd: abx500-core: Remove unused function abx500_dump_all_banks()
act8945a.c mfd: act8945a: Use devm_mfd_add_devices() for mfd_device registration
adp5520.c mfd: adp5520: Some trivial 'no space before tab' fixes
arizona-core.c mfd: arizona: Update device ordering to allow clean driver removal
arizona-i2c.c mfd: arizona-i2c: Add blank line formatting after declaration
arizona-irq.c mfd: arizona: Fix lockdep recursion warning on set_irq_wake
arizona-spi.c mfd: arizona: Support Cirrus Logic CS47L24 and WM1831
arizona.h mfd: arizona: Support Cirrus Logic CS47L24 and WM1831
as3711.c mfd: as3711: Use devm_mfd_add_devices() for mfd_device registration
as3722.c mfd: as3722: Use devm_mfd_add_devices and devm_regmap_add_irq_chip
asic3.c mfd: asic3: Use gpiochip data pointer
atmel-flexcom.c
atmel-hlcdc.c
axp20x-i2c.c
axp20x-rsb.c
axp20x.c
bcm590xx.c
cros_ec.c
cros_ec_i2c.c
cros_ec_spi.c
cs47l24-tables.c
cs5535-mfd.c
da903x.c
da9052-core.c
da9052-i2c.c
da9052-irq.c
da9052-spi.c
da9055-core.c
da9055-i2c.c
da9062-core.c
da9063-core.c
da9063-i2c.c
da9063-irq.c
da9150-core.c
davinci_voicecodec.c
db8500-prcmu.c
dbx500-prcmu-regs.h
dln2.c
dm355evm_msp.c
ezx-pcap.c
fsl-imx25-tsadc.c
hi6421-pmic-core.c
hi655x-pmic.c
htc-egpio.c
htc-i2cpld.c
htc-pasic3.c
intel-lpss-acpi.c
intel-lpss-pci.c
intel-lpss.c
intel-lpss.h
intel_msic.c
intel_quark_i2c_gpio.c
intel_soc_pmic_bxtwc.c
intel_soc_pmic_core.c
intel_soc_pmic_core.h
intel_soc_pmic_crc.c
ipaq-micro.c
janz-cmodio.c
jz4740-adc.c
kempld-core.c
lm3533-core.c
lm3533-ctrlbank.c
lp3943.c
lp8788-irq.c
lp8788.c
lpc_ich.c
lpc_sch.c
max14577.c
max77620.c
max77686.c
max77693.c
max77843.c
max8907.c
max8925-core.c
max8925-i2c.c
max8997-irq.c
max8997.c
max8998-irq.c
max8998.c
mc13xxx-core.c
mc13xxx-i2c.c
mc13xxx-spi.c
mc13xxx.h
mcp-core.c
mcp-sa11x0.c
menelaus.c
menf21bmc.c
mfd-core.c
mt6397-core.c
omap-usb-host.c
omap-usb-tll.c
omap-usb.h
palmas.c
pcf50633-adc.c
pcf50633-core.c
pcf50633-gpio.c
pcf50633-irq.c
pm8921-core.c
qcom-spmi-pmic.c
qcom_rpm.c
rc5t583-irq.c
rc5t583.c
rdc321x-southbridge.c
retu-mfd.c
rk808.c
rn5t618.c
rt5033.c
rtl8411.c
rts5209.c
rts5227.c
rts5229.c
rts5249.c
rtsx_pcr.c
rtsx_pcr.h
rtsx_usb.c
sec-core.c
sec-irq.c
si476x-cmd.c
si476x-i2c.c
si476x-prop.c
sky81452.c
sm501.c
smsc-ece1099.c
ssbi.c
sta2x11-mfd.c
stmpe-i2c.c
stmpe-spi.c
stmpe.c
stmpe.h
stw481x.c
sun6i-prcm.c
syscon.c
t7l66xb.c
tc3589x.c
tc6387xb.c
tc6393xb.c
ti_am335x_tscadc.c
timberdale.c
timberdale.h
tmio_core.c
tps6105x.c
tps65010.c
tps6507x.c
tps65086.c
tps65090.c
tps65217.c
tps65218.c
tps6586x.c
tps65910.c
tps65911-comparator.c
tps65912-core.c
tps65912-i2c.c
tps65912-spi.c
tps80031.c
twl-core.c
twl-core.h
twl4030-audio.c
twl4030-irq.c
twl4030-power.c
twl6030-irq.c
twl6040.c
ucb1400_core.c
ucb1x00-assabet.c
ucb1x00-core.c
ucb1x00-ts.c
vexpress-sysreg.c
viperboard.c
vx855.c
wl1273-core.c
wm5102-tables.c
wm5110-tables.c
wm831x-auxadc.c
wm831x-core.c
wm831x-i2c.c
wm831x-irq.c
wm831x-otp.c
wm831x-spi.c
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c
wm8350-regmap.c
wm8400-core.c
wm8994-core.c
wm8994-irq.c
wm8994-regmap.c