Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f75ba715 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "leds: leds-qpnp: Rename WLED OVP Enumeration"

parents da8434cb cedc9b5d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ enum wled_ovp_threshold {
	WLED_OVP_35V,
	WLED_OVP_32V,
	WLED_OVP_29V,
	WLED_OVP_37V,
	WLED_OVP_27V,
};

enum flash_headroom {
@@ -1663,7 +1663,7 @@ static int qpnp_wled_init(struct qpnp_led_data *led)
	num_wled_strings = led->wled_cfg->num_strings;

	/* verify ranges */
	if (led->wled_cfg->ovp_val > WLED_OVP_37V) {
	if (led->wled_cfg->ovp_val > WLED_OVP_27V) {
		dev_err(&led->spmi_dev->dev, "Invalid ovp value\n");
		return -EINVAL;
	}