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

Commit aa8a8d66 authored by Amol Lad's avatar Amol Lad Committed by Linus Torvalds
Browse files

[PATCH] ioremap balanced with iounmap for drivers/char/istallion.c

parent 41bdabbb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3476,6 +3476,8 @@ static int stli_initecp(stlibrd_t *brdp)
	if (sig.magic != cpu_to_le32(ECP_MAGIC))
	{
		release_region(brdp->iobase, brdp->iosize);
		iounmap(brdp->membase);
		brdp->membase = NULL;
		return -ENODEV;
	}

@@ -3632,6 +3634,8 @@ static int stli_initonb(stlibrd_t *brdp)
	    sig.magic3 != cpu_to_le16(ONB_MAGIC3))
	{
		release_region(brdp->iobase, brdp->iosize);
		iounmap(brdp->membase);
		brdp->membase = NULL;
		return -ENODEV;
	}