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

Commit 69d43008 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: avoid null pointer dereference during bus voting"

parents 6e52e726 557bdf5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1059,7 +1059,7 @@ static int __vote_buses(struct venus_hfi_device *device,
	device->bus_vote.data_count = num_data;

	venus_hfi_for_each_bus(device, bus) {
		if (bus) {
		if (bus && bus->client) {
			if (!bus->is_prfm_mode)
				freq = device->bus_vote.calc_bw
					(bus, &device->bus_vote);