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

Commit 045f23a5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "input: atmel_mxt_ts: Add NULL pointer check"

parents a2b2f69c c0788d84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1729,7 +1729,7 @@ static int mxt_load_fw(struct device *dev, const char *fn)
	}

	ret = request_firmware(&fw, fn, dev);
	if (ret < 0) {
	if (ret < 0 || !fw) {
		dev_err(dev, "Unable to open firmware %s\n", fn);
		goto free_frame;
	}