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

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

Merge "msm: ipa: Pad IPA FnR rule extra word only when needed"

parents 6ae132e6 da4e0693
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 */

#include <linux/ipa.h>
@@ -1853,6 +1853,7 @@ static int ipa_fltrt_generate_hw_rule_bdy_from_eq(
	if (attrib->fl_eq_present)
		rest = ipa_write_32(attrib->fl_eq & 0xFFFFF, rest);

	if (extra)
		extra = ipa_pad_to_64(extra);
	rest = ipa_pad_to_64(rest);
	*buf = rest;