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

Commit db6d8fc5 authored by Emilio G. Cota's avatar Emilio G. Cota Committed by Greg Kroah-Hartman
Browse files

staging: vme: fix bogus clearing of the bus number in vme_free_bus_num

parent c0779fd0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1326,7 +1326,7 @@ static int vme_alloc_bus_num(void)
static void vme_free_bus_num(int bus)
{
	mutex_lock(&vme_bus_num_mtx);
	vme_bus_numbers |= ~(0x1 << bus);
	vme_bus_numbers &= ~(0x1 << bus);
	mutex_unlock(&vme_bus_num_mtx);
}