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

Commit 2d976e3d authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/gpio: return different error code for not found vs invalid



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent b9ed919f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ nouveau_gpio_find(struct nouveau_gpio *gpio, int idx, u8 tag, u8 line,
		}
	}

	return -EINVAL;
	return -ENOENT;
}

static int