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

Commit 7dbbcc9e 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-flash: fix torch 1 reference in driver"

parents c2afa45a 1c6c4184
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1038,7 +1038,7 @@ static void qpnp_flash_led_work(struct work_struct *work)
			if (led->flash_node[3].flash_on)
				flash_node->trigger |= FLASH_LED1_TRIGGER;

			val = (u8)(flash_node[3].prgm_current *
			val = (u8)(led->flash_node[3].prgm_current *
						FLASH_TORCH_MAX_LEVEL
					/ led->flash_node[3].max_current);
			rc = qpnp_led_masked_write(led->spmi_dev,