Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4799078pxj; Tue, 22 Jun 2021 08:16:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqJDRyKNIPz0mbJ7VthK/VVhlEhrnieiXt3w/ozeFq5s5l92b6HTxDnvMdti3TXBNnNG/i X-Received: by 2002:a17:906:7012:: with SMTP id n18mr4575273ejj.236.1624374976025; Tue, 22 Jun 2021 08:16:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624374976; cv=none; d=google.com; s=arc-20160816; b=Uc2s8035kJSv6c3PU5moZxRarj5BNr0oH0pqYeRAkQNBbvS8c5dYOemIgAQzzf1x3t Na2Rv78q6CP7UtX8D8MwZgbMvyO1Qz1dTShoooQgR1TKusfRH/1A+Y4s3eaBgVXYG9ue AhNtsoBshB5lCMakndmaap4ukfn/vaAewMFrTLeCwELZvtBbBfh3Q37k8B9VvcmsYeld 7qHzQ4pCD38iv+M/nQ4mHPMH6TV4f2nzJoo3BOdMbFrkvLhKKNsdGBERMhcODAYl8slU SHlPvjSvtqRSLqQFbTUe3hjmRgA4zvCspuKdXVdHr5rO/2nwReGOhi2ndG2yY0Xdrnr1 Un6g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YN1g5KFH8j9cg+roFBhW9nkrfodBdpbcgcOnzZSpGec=; b=KVNYpo3v2n/TU6yHPTzmH1reTcybr76cV0jgjKt7JttxlsbhAOs7uXoEHco3BrotDa wkVAsMikxyygNXsQMITAiIOSmWtaF548dNZopNGCpEbAB+0pqCnX0VHfuYHW5l4/IixT CKLlhokVPdHWuh+o4Z53y6yQPX48ALN3PXmZCZkxdPaMVIphwiYPF6e9s/Ar1G4C6hRF ZdFwBth7r2PwUaY7ArsUdLjj3idw1n71YWCvsy2j7jqwZ+TVF3biw8MzO5s/wOuD1fd9 qDHnhYweU/i8lU/FedFbzrSXD0FcbIp1hPeXcgi81BmSKyEHfVkBpSZbXo2r+cC8LqNZ NcQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GLuKJLiI; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si6370008edb.470.2021.06.22.08.15.47; Tue, 22 Jun 2021 08:16:16 -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=@kernel.org header.s=k20201202 header.b=GLuKJLiI; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232131AbhFVPQw (ORCPT + 99 others); Tue, 22 Jun 2021 11:16:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:37538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232107AbhFVPQw (ORCPT ); Tue, 22 Jun 2021 11:16:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E9CA860BD3; Tue, 22 Jun 2021 15:14:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624374876; bh=9nlCYcwqJ1vnQ9bk5JIVIMyBSmpad5izn20RrHQQDjM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GLuKJLiIYN2/DFWioXKR8mwigKWHko61JufxOKbH5a40RUgTuZtNEZYvjF99m8AQj 3wZctFuPzF/8qBEaW6o3K5CmBLQxM1aThJs5qsiQ1/R6NhCw0+75q9YaGq0RUQJvn7 KHD0WvFO3aBYSzbvRa8j8vPS648jlhP5wnsOWjIAu1iJToRrTTL3bq2tlLOnP96gyC 9wQDlYnKUqoGu2MfIaLevW4e82/7zVn72LbhZdTsIFFVgxhDPq4V97K2i4WoTu7ly9 zyjfV3/wpzxznr85k+vNRmUrwIsHRetGsRn1O3ir+9phpNbHJpp+Z+RgyuRq+gW6tB NYHYLlQJ6v4sw== From: Mark Brown To: Axel Lin Cc: Mark Brown , Liam Girdwood , linux-kernel@vger.kernel.org, Mauro Carvalho Chehab Subject: Re: [PATCH] regulator: hi6421v600: Fix setting wrong driver_data Date: Tue, 22 Jun 2021 16:14:03 +0100 Message-Id: <162437385474.2223.5068353167104451603.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210622043329.392072-1-axel.lin@ingics.com> References: <20210622043329.392072-1-axel.lin@ingics.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Jun 2021 12:33:29 +0800, Axel Lin wrote: > Current code set "config.driver_data = sreg" but sreg only init the mutex, > the othere fields are just zero. Fix it by pass *info to config.driver_data > so each regulator can get corresponding data by rdev_get_drvdata(). > > Separate enable_mutex from struct hi6421_spmi_reg_info since only need one > mutex for the driver. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: hi6421v600: Fix setting wrong driver_data commit: 9bc146acc33125cd9f365b92f1c02ec89f639977 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark