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

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

Merge "soc: msm_audio_ion : Fix error in msm_audio_ion"

parents 623fbcad 3aba4d51
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2013-2017, The Linux Foundation. All rights reserved.
 * Copyright (c) 2013-2017, 2018 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -762,6 +762,8 @@ static int msm_audio_smmu_init(struct device *dev)
					msm_iommu_get_bus(dev),
					   MSM_AUDIO_ION_VA_START,
					   MSM_AUDIO_ION_VA_LEN);
	if (mapping == NULL)
		goto fail_attach;
	if (IS_ERR(mapping))
		return PTR_ERR(mapping);