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

Commit 32496ef3 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: soc: sdx_ext_ipc: Fix dev_err"

parents 2cc9ddee e4bffb6c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ static const char * const gpio_map[] = {
};

struct gpio_cntrl {
	unsigned int gpios[NUM_GPIOS];
	int gpios[NUM_GPIOS];
	int status_irq;
	int wakeup_irq;
	int policy;
@@ -264,7 +264,7 @@ static int setup_ipc(struct gpio_cntrl *mdm)

		irq = gpio_to_irq(mdm->gpios[WAKEUP_IN]);
		if (irq < 0) {
			dev_err(mdm->dev, "bad AP2MDM_STATUS IRQ resource\n");
			dev_err(mdm->dev, "bad WAKEUP_IN IRQ resource\n");
			return irq;
		}
		mdm->wakeup_irq = irq;
@@ -353,7 +353,7 @@ static int sdx_ext_ipc_probe(struct platform_device *pdev)
		if (ret < 0) {
			dev_err(mdm->dev,
				"%s: WAKEUP_IN IRQ#%d request failed,\n",
				__func__, mdm->status_irq);
				__func__, mdm->wakeup_irq);
			goto irq_fail;
		}
		disable_irq(mdm->wakeup_irq);