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

Commit 471ae628 authored by DL's avatar DL
Browse files

Update mobicore driver to Samsung treltexx sources

Change-Id: Ib78451b08c6600442c0a6fc6a398adf3cfed66c1
parent 31d13660
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
/*
 * Copyright (c) 2013-2016 TRUSTONIC LIMITED
 * Copyright (c) 2013 TRUSTONIC LIMITED
 * All Rights Reserved.
 *
 * This program is free software; you can redistribute it and/or
@@ -509,7 +509,6 @@ static phys_addr_t get_mci_base_phys(unsigned int len)
		ctx.mci_base.order = order;
		ctx.mci_base.addr =
			(void *)__get_free_pages(GFP_USER | __GFP_ZERO, order);
		ctx.mci_base.len = (1 << order) * PAGE_SIZE;
		if (ctx.mci_base.addr == NULL) {
			MCDRV_DBG_WARN(mcd, "get_free_pages failed");
			memset(&ctx.mci_base, 0, sizeof(ctx.mci_base));
@@ -729,9 +728,6 @@ found:
		if (!ctx.mci_base.addr)
			return -EFAULT;

		if (len != ctx.mci_base.len)
			return -EINVAL;

		vmarea->vm_flags |= VM_IO;
		/* Convert kernel address to user address. Kernel address begins
		 * at PAGE_OFFSET, user address range is below PAGE_OFFSET.