Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp993800pxa; Wed, 19 Aug 2020 22:50:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAMQkJhA6ikvu2YZqC6CiUKu3awZYAlmll9Fze2tgk61wzxJv18qY8ruARXIvXYNGRa0Em X-Received: by 2002:a17:907:11c3:: with SMTP id va3mr1730812ejb.497.1597902630556; Wed, 19 Aug 2020 22:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597902630; cv=none; d=google.com; s=arc-20160816; b=k/5NUKbmHjgh6Y+/iT9Zi7Aa1IkUOJHWUYdCxRNzvl+IRH4vSrcY7EqTqdvkUvDJJ/ fbUjiHTE/x1sLzOmDGV/0AQH5FxylcNqJrHXyXprFn+PztJI8F+QW3jdPc59P94fXcHd z8vlkusR366eYdHWMUsM+r74qpH/wwoC4unE33mY7mGQC6D4GHKOeRHQ/dqrvypa76io sHgwlgJ4/+7CLRx+ccgcq8/bDYjl3TmY2Bi+bm67ddZtNSyRw+9oAGaNNSssaeQfPs+Y N22PRxmU/dRvrVsRoZPUS87wgcZjVtjJn6b1oSPknaB2jzBgzemn6Ztf+BbDsAnx+Dwd Darg== 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=5gFAciF6+KEY7dJjqp1IMdzJnWb/5lXTm4tMKH4rq6Y=; b=m7o+XG1unY2NEIWG7DChoJ3COGm5qPu4xsTj/pG5bVykTc1AJ0u1OYcLzWssuncNfF xjuJuFa2quQ5Ib79yNyn0qdXpkg5D3se7A8SdGcklr6tQqelzgI4aV/McvnG0OIfFPe1 pGEQkwU0Zi4DhmvgyYnXmdEroI1jmJZn+nZYmx2K31QJeD+Q32ZZDM4lwDElkTk778yq 5QwZQFAmGk+iDRbsYDSYo0ZOS4j8ohVUGCygnFX917u+uLZf26WQYBCrsHjHpmYq/eBL tceOCD2ndlrdh9vv+5yOf1xMzFn/AMF/5eXa3TJtJoHX0QUCpmHdCG+8RF/fP4ceB550 Ji6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=CmjQhUgL; 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 ga5si655240ejb.689.2020.08.19.22.50.07; Wed, 19 Aug 2020 22:50:30 -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=CmjQhUgL; 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 S1726934AbgHTFrk (ORCPT + 99 others); Thu, 20 Aug 2020 01:47:40 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:50343 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726867AbgHTFrb (ORCPT ); Thu, 20 Aug 2020 01:47:31 -0400 X-UUID: 5e126d961bd742daa778001d3e6d9bad-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=5gFAciF6+KEY7dJjqp1IMdzJnWb/5lXTm4tMKH4rq6Y=; b=CmjQhUgL2VBxftDXlKgAIdTPp2m0rHC53nToqz6Tmc3Nib4WYIxjZtBRyeEADArLAJXDkSa4YJkRbWn6xKvCUQYpv8N4+r1TVGIiptZyBCDW1qlKeGvpKeRVzqW6L9rDAXtjBSqiHa3Yz4ey5l8xzURYinL9ve2GOoFLHSZMxPY=; X-UUID: 5e126d961bd742daa778001d3e6d9bad-20200820 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 959376651; Thu, 20 Aug 2020 13:47:21 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 20 Aug 2020 13:47:19 +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:18 +0800 From: Chunfeng Yun To: Greg Kroah-Hartman CC: Felipe Balbi , Matthias Brugger , Chunfeng Yun , , , , , Lee Jones , Alan Stern Subject: [PATCH v2 10/11] usb: udc: net2280: convert to readl_poll_timeout_atomic() Date: Thu, 20 Aug 2020 13:45:48 +0800 Message-ID: <1597902349-8998-10-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: 1AFE4B6A20DAF01A9B43BF0F84F116481CA1E4D92096B78CB884D2EFB6C51D732000: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 VXNlIHJlYWRsX3BvbGxfdGltZW91dF9hdG9taWMoKSB0byBzaW1wbGlmeSBjb2RlDQoNCkNjOiBB bGFuI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