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

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

Merge "mdm: ipa3: fixing clock gating issue when auto config is disabled"

parents 5894aae4 2a5a5ee6
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -2061,8 +2061,11 @@ static long ipa3_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)

	case IPA_IOC_GET_PHERIPHERAL_EP_INFO:
		IPADBG("Got IPA_IOC_GET_EP_INFO\n");
		if (ipa3_ctx->ipa_config_is_auto == false)
			return -ENOTTY;
		if (ipa3_ctx->ipa_config_is_auto == false) {
			IPADBG("not an auto config: returning error\n");
			retval = -ENOTTY;
			break;
		}
		if (copy_from_user(&ep_info, (const void __user *)arg,
			sizeof(struct ipa_ioc_get_ep_info))) {
			IPAERR_RL("copy_from_user fails\n");