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

Commit 427aacfe authored by Dmitri Belimov's avatar Dmitri Belimov Committed by Mauro Carvalho Chehab
Browse files

[media] tm6000: Fix mutex unbalance



Hi

Fix never unlocked mutex. No more crash after removing USB stick.

With my best regards, Dmitry.

Signed-off-by: default avatarBeholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent aa777a88
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -722,5 +722,5 @@ void tm6000_close_extension(struct tm6000_core *dev)
				ops->fini(dev);
				ops->fini(dev);
		}
		}
	}
	}
	mutex_lock(&tm6000_devlist_mutex);
	mutex_unlock(&tm6000_devlist_mutex);
}
}