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

Commit c9f7ec30 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by David Woodhouse
Browse files

mtd: add missing put_chip() in cfi_intelext_reset()

parent f369c7ec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2564,6 +2564,7 @@ static int cfi_intelext_reset(struct mtd_info *mtd)
		if (!ret) {
			map_write(map, CMD(0xff), chip->start);
			chip->state = FL_SHUTDOWN;
			put_chip(map, chip, chip->start);
		}
		spin_unlock(chip->mutex);
	}