Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp261627rdb; Thu, 19 Oct 2023 04:00:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEto9h61IdZoAWY8M6sJIdYeFCx3CprPscgfxPcDP6hevzVegM4lDFfLXr5Y0mCaS1sAl1/ X-Received: by 2002:a17:90b:3704:b0:27d:5964:4eec with SMTP id mg4-20020a17090b370400b0027d59644eecmr1749159pjb.1.1697713257490; Thu, 19 Oct 2023 04:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697713257; cv=none; d=google.com; s=arc-20160816; b=UQQ0Ag0QO8ZwiuHksmLv29qdnsY3v+fq+jPC9ii2XUHUPRD6rzk8LLQF3Yoto0CpKa oupPePwjJQOholImH+GgBEgCOLEcZyXOufiGWcGZvYab3LXTGoDMA+reKKkYGqHDro7x 62J2DwI6kEcWGULP95kkESAAxAvDJbl2WEzjwpfIEdSmJAOAHIWct00KrIY0kzLPEErD EamblOYH6Zy+/hmrPvLKHUQGuBmIHuvfFb4RSqUcAZ8C3n1l6GkZjv+zI8NKtPuDE1Pk YoKM6IU9aOvLQnbQlCoz6v5R+dtYNVxrLuxetV21iy3P8GlsENFdCzC6JzjHFPZGWZbI swGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=Av3bnqjIIUch0ptIw0WjTw6ZgG+DulstDaJsYjhr78s=; fh=f0L9s9qAEPpCQeIZUwPCyWAwfoavBuPtoEbqQ+Aedls=; b=NCzVv3+X1Bj5ciA0yxA47CMnuGlF29e6K5cm+UpOOzr4wYRj4TG/JDjScfR1sXWRQd 2xycK3WANJguJWGJwMK29RkmOpuBGzV69wegafXJeHhpOurzdNHy6rzIFzsBErrRQUH1 D8Gz5Y0FawMW5J/scYq4vRKsk/+opr38yROP4W1FvyvSuQhBXG4Zhs3aIbaaCVVOzHeO g/1cn6jr63VzZjPUWTA1CrHPJRJs+tL09j3egTiHcW2tgDQMp27sKrvSt2uCOJiWEvLH wPlGcSPaxoyZAL3BbQW3J1nPMG48kjBljLofmxFmCDerpub9h6SDAlbMfcnMJyBP/y8P sCpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XJjcdxrT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id mj3-20020a17090b368300b0027450695a78si1695629pjb.172.2023.10.19.04.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 04:00:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XJjcdxrT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CDC00806E3DC; Thu, 19 Oct 2023 04:00:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345224AbjJSLAq (ORCPT + 99 others); Thu, 19 Oct 2023 07:00:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233119AbjJSLAo (ORCPT ); Thu, 19 Oct 2023 07:00:44 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46350137; Thu, 19 Oct 2023 04:00:41 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DDF9C433C7; Thu, 19 Oct 2023 11:00:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697713240; bh=oQXN+1e6ytcbcU5S2Em6a6f7FxQLS6ypfbh3127dMZo=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=XJjcdxrTY0rX8fsKwkO+xIVHPukzTmuGhyEEGex73HX1iWLZX+Hz1bcGfIcbVeK1Y 3o+YVbllb3RYrrPHTqEQngjEcGWKaljBBe0HAQp/DDc9IyL6VXO61QcZvfOo53oZRr KoIqSHfkQ69AQxUF5+fi1DVYiKncHmdQiyGX+37fHNzu+YLdmckj/0tsiMV1lN5nUj 6krdqFw/d+Mr0lx5xLZYUI5g8uJQFz/amxijFTaMwJM+tVeL4Le0CgszP5aakT6XoK DDLYV7ZbWs/F2+tNagoSmJjsutYs3etVwnsvXHRdyLMlDmIu9LZiyN9tMDiDrwubZV vZdUF/6mGBONA== From: Lee Jones To: Pavel Machek , Lee Jones , Chunyan Zhang Cc: linux-leds@vger.kernel.org, Baolin Wang , Orson Zhai , Chunyan Zhang , LKML In-Reply-To: <20231013022010.854367-1-chunyan.zhang@unisoc.com> References: <20231013022010.854367-1-chunyan.zhang@unisoc.com> Subject: Re: (subset) [PATCH V3] leds: sc27xx: Move mutex_init() down Message-Id: <169771323911.2438345.5584954485789045031.b4-ty@kernel.org> Date: Thu, 19 Oct 2023 12:00:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 19 Oct 2023 04:00:55 -0700 (PDT) On Fri, 13 Oct 2023 10:20:10 +0800, Chunyan Zhang wrote: > Move the mutex_init() to avoid redundant mutex_destroy() calls after > that for each time the probe fails. > > Applied, thanks! [1/1] leds: sc27xx: Move mutex_init() down commit: 8f3a620c7830d7b50d32614d48c4b7df7205309a -- Lee Jones [李琼斯]