Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3418015ybt; Tue, 23 Jun 2020 01:36:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0J9ujeqNO662CA4slA/JhnSbid6MqW50x9F5CzL+QCR/x/5bDG/1X30qrpEZoxlO9YdpE X-Received: by 2002:a17:906:87c8:: with SMTP id zb8mr3409136ejb.35.1592901371906; Tue, 23 Jun 2020 01:36:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592901371; cv=none; d=google.com; s=arc-20160816; b=eiotY+ZP4UZKhcaRjoFYbRH8A/DwN0KOmIkiyLsNMlJQbeQeUvFnsEyPkgQDVAkl+s BuNXnMJJ4Up3DTQJZisHuAmVCnYkvhqfYYmV4cq3v/LQiFRzWuOAZXOgp9orTrP1B2bO eBQDCfxCjpIswMtITIMcLHBzDi7jlIqvzUbDS1vdhhGFR4vP4kW8mDHRBVoMU++SD8rM 7SnlgPmwIJRkYJRe/51blg/ph8JeABPI8Lrfd52bA6BIje+bEfdZKdDuvY8+Mw672sdC Cj62rlr3+I+szlRBy/HfiEmLgR9r2vz/OrTnEARo5DJN3cS4UOd3AykeMZIeDSZelhsc NzJQ== 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=WUXkMq3EwcMN7rag+IOzTouUq2jW1leXveyXqam81mE=; b=HzyOamBrLPETNnqCF2cb42c1Oipnze3aUHYV7+4oWB/PcCXyy53nqzA40tPdRJwrid yy414k9k+egMJZSEMOU3hGy2OHGgVLukyiQFxntFBetVGJtpjMoWM/eejSJvuDkyQHrX RTGspPl4FIDcKnVtyYNHlbsTx9A6c10FYlR7qS9YVQVJ3RU6QT5Z2+bao3sFBLdBWU3O 6xDnn80ohLJzG21W34YBSQhYaV+x2R+e8CoojujxbCldod8NZXKoiqVJKYvUg4HXAdS7 iirCeeaplicUL6UFldKKUwj+SizmYJS+QtEQSjfl2dKbRkqqrzS6iLv+tpEV95H1psXk yR5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MfKUA1iM; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l11si6019574edq.493.2020.06.23.01.35.49; Tue, 23 Jun 2020 01:36:11 -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=@gmail.com header.s=20161025 header.b=MfKUA1iM; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731780AbgFWIcP (ORCPT + 99 others); Tue, 23 Jun 2020 04:32:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731579AbgFWIcO (ORCPT ); Tue, 23 Jun 2020 04:32:14 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C697C061573; Tue, 23 Jun 2020 01:32:14 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id l188so5025069qkf.10; Tue, 23 Jun 2020 01:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WUXkMq3EwcMN7rag+IOzTouUq2jW1leXveyXqam81mE=; b=MfKUA1iM2cNLIQb0gJHMFANrfHxAxLJ7OauUZ2pO/Zib5rQxdceNoygxEhaSDMdHF9 oRekPg5JE8wO67W1XXq2VajDG1CD5zGtq6DzJ+Qqzc0xSSHh8EvgNnEnJ7pA67a4qEGf lPl3QQNFvtUUy0Dxt3X/UuNwZ7fbemOh29ZTt497SOrwO3oL3Sey/D/ilE2uGS2PQFbx 8eRe/P+4LFzxcDQI8ZY/wsYR0Eaj3Q5c4e3/otG65UcV+dUVpriPExa1pjkoV6FtNKsk eTFyhw3iNwgYihpOJRXlLTx1rYmcfRPPKKxP+HEqKHn704oUg1p1fMwDArGlPS5755W+ rRFQ== 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=WUXkMq3EwcMN7rag+IOzTouUq2jW1leXveyXqam81mE=; b=NPmLEXhIFO7gTqA+k8vpP7MYud0A+r3q8Ubve1H6sA3J2dPviSNkghi+MUw+dnuu0a p/nGw/tlksPlPcUY+5s687gBXqBDTfYS3tyMDjR9GOLnkV7Wtv++ktS6j4qSWEmMXsyF JW+RLftnFWcaXhZfJDKrgbTlHHa1CQuJ3D5C6KTR15j+0Eeje/yqMZjpDd9dPWvQOLMT X1iu0T7//EA4rQLlOhvZH1MOF68twVotefhQlAuOWPct1Qq1vp6rYGv5EVifQf1ospGE iMbNr07eQp/laNfohMNJUPyjNbOVukhZufHBRboMYfmBtSc3BWAxV3BZStyB1jEvhm1x Rhkg== X-Gm-Message-State: AOAM531zWSygy4VEtqHmYpcZjZL2Jeu/jjkaM4WfIZspC89Q7sHTlMJy yVAPET9ZrXnaKWqGx93Nb7+VR+LN2xM4pBRbSxE= X-Received: by 2002:a37:8a43:: with SMTP id m64mr18899695qkd.37.1592901133739; Tue, 23 Jun 2020 01:32:13 -0700 (PDT) MIME-Version: 1.0 References: <39ac8f24-3148-2a3d-3f8d-91567b3c4c9e@web.de> In-Reply-To: <39ac8f24-3148-2a3d-3f8d-91567b3c4c9e@web.de> From: Shengjiu Wang Date: Tue, 23 Jun 2020 16:32:02 +0800 Message-ID: Subject: Re: [PATCH v2 1/2] ASoC: fsl_mqs: Don't check clock is NULL before calling clk API To: Markus Elfring Cc: Shengjiu Wang , Linux-ALSA , linuxppc-dev@lists.ozlabs.org, Timur Tabi , Xiubo Li , Takashi Iwai , kernel-janitors@vger.kernel.org, linux-kernel , Nicolin Chen , Mark Brown , Fabio Estevam 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 Tue, Jun 23, 2020 at 3:38 PM Markus Elfring wrote: > > > In-Reply-To: > > I guess that it should be sufficient to specify such a field once > for the header information. seems it's caused by my "git format-patch" command, I will update it, hope it is better next time. > > > > Because clk_prepare_enable and clk_disable_unprepare should > > check input clock parameter is NULL or not internally, > > I find this change description unclear. clk_prepare_enable and clk_disable_unprepare check the input clock parameter in the beginning of the function, if the parameter is NULL, clk_prepare_enable and clk_disable_unprepare will return immediately. So Don't need to check input clock parameters before calling clk API. Do you think this commit message is better? best regards wang shengjiu