Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp993060pxa; Wed, 19 Aug 2020 22:48:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5myt90SI7kx8I4+g9MI90pJujbf6ND+PY843+tocRb+MIlzJTEJQyflHxeTmGfUdmY2Zb X-Received: by 2002:a17:907:2067:: with SMTP id qp7mr1670938ejb.378.1597902527642; Wed, 19 Aug 2020 22:48:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597902527; cv=none; d=google.com; s=arc-20160816; b=v2olWQPoUmX5saw+ffItaLFUaEWYI9laYNxSl1fHO/oO1Dr5KLW+oLiSqPLygr8oj4 sOwxPoGXzm0if/1jX/t7XvmblfV0TYfZcFPWT+tLzejx3/n6v0IlxyFZH4Wdxsu3Lq8O gZBlIesNuKcnWe71XC/8vRM5ena0fE6PL+a/adCwGhFNXBwHUwMDQOIZveZbtFuG3GoB pjDr6sa93r1WOUDWquXXJjUAbM8Gdl8TdQYLeGR2GabaRZpXpn8fYKt6pumX46KZ4dsZ Gz4O9N1cm173K4lgpB+o9bV3JfZi7H8yVFhY4guVJnjvJ+CE6Olnb0jJCkKm6ucVRNix FKgA== 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=mfOPutSE6t3EaQRTKeVOvlEGn3YWjiY/ElOxoormrZk=; b=mith56D81TV+9vjkJ3V6VrGjZ4jwWNflS58XLTyTlsOjw3YPjNCLv34Fumw5e4c//U 2iz3XAhJGQsKUcwJZ9tMxwX7sniFy8veFWYnbJlxNRjIuBriOMLNWb5ZYGuQzL6KzMW2 NVvILB0KMI7BP2KKf7+/CkPweaoouI4X6NWaqL37FtWHsRKT58anFUco/efdS4FN8EZ0 SjkbzN0/Sv2w5cDVR7qID9uiYNSmk7jB21Fv19HUp4Fh6vCi2QEGSXIfsM8MExO2XjCW DVU7Pa8r2UbzvRwzYsoZWS/Eqcbt2ppXa+/fHWaYAeL0dALFgPLBRnH2IdYw7MA8hCng wUGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=We3+v1Nv; 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 ot41si597144ejb.173.2020.08.19.22.48.24; Wed, 19 Aug 2020 22:48:47 -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=We3+v1Nv; 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 S1726896AbgHTFrh (ORCPT + 99 others); Thu, 20 Aug 2020 01:47:37 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:35207 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726862AbgHTFra (ORCPT ); Thu, 20 Aug 2020 01:47:30 -0400 X-UUID: 1cba0d79c5554c598132f0ff3e6fb5d8-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=mfOPutSE6t3EaQRTKeVOvlEGn3YWjiY/ElOxoormrZk=; b=We3+v1Nvj9oN8DK3QTXuabzhb2rVYTQoIctrmpgvFv9e/LVjzNbv09IZCCcYeY0x1hDIAJOVWrh/AUB/W0IfkVGVa4Qno8+VYvVrJXOWXpJJ9cWVWfwsbembh1SZfc6DngWH9buCDXcrfIWUQCqSqp+dpnsKHyPncg0DDj5P228=; X-UUID: 1cba0d79c5554c598132f0ff3e6fb5d8-20200820 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 207991710; Thu, 20 Aug 2020 13:47:20 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 20 Aug 2020 13:47:18 +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:17 +0800 From: Chunfeng Yun To: Greg Kroah-Hartman CC: Felipe Balbi , Matthias Brugger , Chunfeng Yun , , , , , Lee Jones Subject: [PATCH v2 09/11] usb: phy: phy-mv-usb: convert to readl_poll_timeout_atomic() Date: Thu, 20 Aug 2020 13:45:47 +0800 Message-ID: <1597902349-8998-9-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: 536A387A30F093BE5F77A6E11585C2A14747E88712010E4B0B5B9729BCE4B7B72000: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 ZC1vZmYtYnk6IENodW5m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