Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp992914pxa; Wed, 19 Aug 2020 22:48:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRRm/gvhq6QXYmgQBf2AQA4rjwye+hbuI4oHgXMFFFY7ccSqHM7yTj3vHGHiRGv8k0HyjM X-Received: by 2002:a17:906:858:: with SMTP id f24mr1639468ejd.543.1597902508237; Wed, 19 Aug 2020 22:48:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597902508; cv=none; d=google.com; s=arc-20160816; b=S+xVPFc30BYZH/xw3n8JMvpK4PvRnEdCzvX3xHppROUAXnvQkocDhqkIgg8K4T3A4r ELhRf8bF4tboC+Zo6VLiBdNVClsReTnmGHhq2i1ThjzSna3pfTcyA6kPyY/EfUt9cJQf N4iWKIvLMkRsUZKx0FggTAQHMNyLxO++HQLaodNuJgCsTR2vqtdGWe1Vk2uqHyB9bjOw KrKUFe+WDA4QMJPd62lech1/BBrfAX7yIT+MDCLTi6nC5+ofGjoSSL7/XRD2wDEeAYPJ 3qNNuRkpqokNruxXmLi5gUn78UTf486Cw+G1sP8yZ808GwPbqLqxFDooUNIpj3r+5ZDs qdGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5sSpZZcpQp5FJBj/SDQBR6BT8ozF7J0Kcnq2Pn400hc=; b=jIVr+W+ZaK3o3JSU6WrK8TclKHvMon/inARGJVdl0d2YfnSvziw08ZbjYcZB9w+/cI uDD3mA/FW5zWqncPtH1pCS70UKYjl2Qifjls5iJGlVKkw8W2rYJSEyvSZvAPdWs2E/+R KHbvBNeYz/zf+adMjTUNpBNG8DpKgc/8tZxtP+ckCH2eu37c2oDm2JUWoE+Dq1cMxBr8 SumoPihjCabvzjv9M/AUoWhjwpPnArz5BhaPSB3dOBpS9L9hFYB6afuVtHkrC+20EC7p U0kytSQYfVcAh089VFRCa6pZunCzQpi2fWqhDvqy5yfm1G3fHsxL2RDskDdgxeDKZl+w 0//w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=VpxL9iYM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si587328ejx.254.2020.08.19.22.48.04; Wed, 19 Aug 2020 22:48:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=VpxL9iYM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726840AbgHTFr2 (ORCPT + 99 others); Thu, 20 Aug 2020 01:47:28 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:19665 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726741AbgHTFrY (ORCPT ); Thu, 20 Aug 2020 01:47:24 -0400 X-UUID: b7af6cac8c08447cbdc646d38bb552b2-20200820 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=5sSpZZcpQp5FJBj/SDQBR6BT8ozF7J0Kcnq2Pn400hc=; b=VpxL9iYMRunqKI0VfBNVDKL7WbKPCmo04A7tJmVgl4gmvioyAhDBcLVem83VMcocIDwBfOH4VY8F4DhPK0s10kMKv+c7YMw6GRiMwFzSwkKRUnf7c7OS7mWm6mj8WmrEgLtkPuz1+lnfXK+DvQqe4vA5jtyqKNzTIJzYkgiX2eY=; X-UUID: b7af6cac8c08447cbdc646d38bb552b2-20200820 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 879988992; Thu, 20 Aug 2020 13:47:15 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 20 Aug 2020 13:47:13 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 20 Aug 2020 13:47:12 +0800 From: Chunfeng Yun To: Greg Kroah-Hartman CC: Felipe Balbi , Matthias Brugger , Chunfeng Yun , , , , , Lee Jones Subject: [PATCH v2 05/11] usb: oxu210hp-hcd: convert to readl_poll_timeout_atomic() Date: Thu, 20 Aug 2020 13:45:43 +0800 Message-ID: <1597902349-8998-5-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1597902349-8998-1-git-send-email-chunfeng.yun@mediatek.com> References: <1597902349-8998-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: ADA5C27A1C9997E08369B6D6F031D0C2CA451BD6E5946D2FA33777F126C20AEC2000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlIHJlYWRsX3BvbGxfdGltZW91dF9hdG9taWMoKSB0byBzaW1wbGlmeSBjb2RlDQoNClNpZ25l ZC1vZmYtYnk6IENodW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