Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1228612ybl; Thu, 23 Jan 2020 16:23:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzEW4DNCe3spFI7MqaHPHfmfH2NfyaiEfB0331pJJJkQZQMwRQZZAol7GmLYgdXkoFt2XbA X-Received: by 2002:a9d:67ce:: with SMTP id c14mr780548otn.106.1579825432175; Thu, 23 Jan 2020 16:23:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579825432; cv=none; d=google.com; s=arc-20160816; b=WTJc87W7eYzr+kxobyo9yruguB0Ys0nf1rhFw3Ygrj5O2Qch9wx0i5F2PETB/b66Is kGCIuRXCV2OfUKHV83OvSCS22xe9kRClJTEpfT60eLCLd3EayikLQ3fdfkJaWQQsEWuA bd6gI421xcbnAnY3M4G3XWSi3fb5MMCLifP8ESAN58i9t1WIL98vHZrVMRVa2zAYr742 UWimf7zX9RqKuKwoCKizdj8fl/pt6TreIzojAt264FS7SFMzYBMVZbJtstrgendZ764+ VdSgP1tAg0SpFYJjlHQ7GERZsxxISmnF4mZFocQ0OwxYh7OxUmiqc1tw1Ni5I2dDDR4K 35pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4i0xRegMdNqxOxG+y1FBl3qD0d4qg24N4qcbY2rQ3vQ=; b=uhHAPyZ3YspoW2/n/G6SsCo7lUc+on3BSpmMxulT/G5WMvS9RrvzFR5ReJ+Y5c0Dzf jmRhie04Y5ljjTMY54sUPbwiW8wgT1QkUoHefCYCcqqpY3G8oPtUFKpOHNFs38d4nrrE SKnTA7ATLqNenxSIGNMMT97fby84g3VpQbCXK/CTctOeZXSt0j+QFOxDkwBM91cigZHQ jb9n4zmCRMTw+MmO8MxNkXS535hlfrkOcJDbWoKZRYCe3/gx0OZvPcpHQb4Wyi+c0KBo qO8l9gLxxNDHWm38+pnSsmnAEqR9tjVd+zR8AkNIkHmL21G9JMoFc1B/UVYyPaXLhQ50 94ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=h6fTyk31; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si1953488otr.159.2020.01.23.16.23.40; Thu, 23 Jan 2020 16:23:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=h6fTyk31; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729504AbgAWWyV (ORCPT + 99 others); Thu, 23 Jan 2020 17:54:21 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:35095 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729154AbgAWWyV (ORCPT ); Thu, 23 Jan 2020 17:54:21 -0500 Received: by mail-lj1-f196.google.com with SMTP id j1so232532lja.2 for ; Thu, 23 Jan 2020 14:54:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4i0xRegMdNqxOxG+y1FBl3qD0d4qg24N4qcbY2rQ3vQ=; b=h6fTyk31IwwLg8KNhheI3woUC/D2zkf8XziVhs7JXsImTaRLC2DXm9BJAE6u+BMgjK 73MNy0gWxtpbOyDwxzvluEvf+NqpO/USzFZ726Oz2yVqZNBJk/Lpps9OfFcYEj6AfB9L o1Gs5eQMBdoRwGanZpLB0BWUuybs52+Nj83ZM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4i0xRegMdNqxOxG+y1FBl3qD0d4qg24N4qcbY2rQ3vQ=; b=EyfLABjDtW/+k3YhyOTo0EsZGQq4UXeIQ2mV5p9Okmt07Y66r5wZ8CxUv6oDT/JRBM Y4PORhbJL17frnMnAPwtKvmOCysTxqmiGrNHqn4zkPIYxRECr4H6j/GZF1mAzrBtmxNL I0ijHXhPUMuyBPmXa5ezGMl49Scplx9L++mE1eaGdhJwPomB0ByuZ4cBsgS1E8+4HYtZ WjD4KauY1GARvsolY9atW6JO2GjogDp+dgDk7qo7jHp+iBDTcqDRuQpWdn/U+rVQ38ZI P+a8dS5X+no9ps/OXiOWnx6dI7toRpZfQjcI4jGH6F9HiSy1JQ7b6TO/e3xGBE94cH24 zccQ== X-Gm-Message-State: APjAAAW2J0zO7nZItTTFusYeyN5TY9HIx7eMC8BO1TeDhgshXgK1KNgk 7L3mux0JOeA8G4LUlipyyAu18cYJV40= X-Received: by 2002:a2e:9b93:: with SMTP id z19mr422726lji.290.1579820058873; Thu, 23 Jan 2020 14:54:18 -0800 (PST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com. [209.85.167.42]) by smtp.gmail.com with ESMTPSA id m3sm1744104lfl.97.2020.01.23.14.54.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Jan 2020 14:54:18 -0800 (PST) Received: by mail-lf1-f42.google.com with SMTP id l18so3612662lfc.1 for ; Thu, 23 Jan 2020 14:54:17 -0800 (PST) X-Received: by 2002:a05:6512:2035:: with SMTP id s21mr31943lfs.99.1579820057323; Thu, 23 Jan 2020 14:54:17 -0800 (PST) MIME-Version: 1.0 References: <20200123131236.1078-1-sibis@codeaurora.org> <20200123131236.1078-2-sibis@codeaurora.org> In-Reply-To: <20200123131236.1078-2-sibis@codeaurora.org> From: Evan Green Date: Thu, 23 Jan 2020 14:53:41 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] remoteproc: qcom: q6v5-mss: Use regmap_read_poll_timeout To: Sibi Sankar Cc: Bjorn Andersson , Philipp Zabel , Ohad Ben Cohen , linux-arm-msm , linux-remoteproc@vger.kernel.org, LKML , Andy Gross Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 23, 2020 at 5:13 AM Sibi Sankar wrote: > > Replace the loop for HALT_ACK detection with regmap_read_poll_timeout. > > Signed-off-by: Sibi Sankar Reviewed-by: Evan Green