Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030296Ab3FUKBe (ORCPT ); Fri, 21 Jun 2013 06:01:34 -0400 Received: from cassiel.sirena.org.uk ([80.68.93.111]:49427 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933510Ab3FUKBc (ORCPT ); Fri, 21 Jun 2013 06:01:32 -0400 Date: Fri, 21 Jun 2013 11:01:09 +0100 From: Mark Brown To: Guennadi Liakhovetski Cc: linux-kernel@vger.kernel.org, Liam Girdwood , Magnus Damm , linux-sh@vger.kernel.org Message-ID: <20130621100109.GO27646@sirena.org.uk> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MdEjg5WkSuUg8x46" Content-Disposition: inline In-Reply-To: X-Cookie: You will contract a rare disease. User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 94.175.92.69 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 1/2] regulators: max8973: fix multiple instance support X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) X-SA-Exim-Scanned: Yes (on cassiel.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1751 Lines: 42 --MdEjg5WkSuUg8x46 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 21, 2013 at 08:30:22AM +0200, Guennadi Liakhovetski wrote: > Currently the max8973 regulator driver uses a single static struct of > regulator operations for all chip instances, but can overwrite some of its > members depending on configuration. This will affect all other MAX8973 > instances on the system. This patch fixes this bug by allocating a separate > copy of the struct for each chip instance. Applied, thanks. --MdEjg5WkSuUg8x46 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJRxCRiAAoJELSic+t+oim9xQgQAJSdRNzHJ0X6ciAgJIGqh3vK S88sMEpiT7Q4lswVPjSc8n9xd8cPpHwemXzOTB7IfB28a3Yz6DE9c2T6KSesuYcH nn4rULpVEdPKcJns9WLU5YzytlSNBuyVxYhfap9sXBPRPbUnUvM7FeE3rA99UHBP y1cCFD5u+rkrrf13OnwpJiMPT3ofRKBYik2kNpruUjGPa6ni+zsx6/13LAuChrUY Ej6gZbqT1JX1fCw1qi/EkkcKse75qAEfb9ndI4ufbizCux7HiVeBX5UQOPzL7AKo agOFSLGgTStZAOytKyyowYh5fLQnLXa/Ua527HpjhWOAHfeJqrzmqvieqIgYZNuA W3mCcmbJSmYX7/XMvaUkhVywzPJrmNKQ51LHy9+iW2i5KBVjrP4CP290qyt6KFje CPIaKjLB9NgZj5duN60SV8LhM6VkgOlmV3o7esfVbG8qrTZBFXhCtDd1vCu5WS/7 5HfBHqfszupCIG9bJGD7I/41vhIcb43GsXoAt8+w8i1sda0u4dC6w9bAMb2pOXsy CwxCMqXvo1uM7SKPHJhGdDwqA4dmCbwqytMCrwkUVS2jiu42JsqjtRwd2JI3GtH0 H+E6HI49gfTpO/k87+BSKTX4B3MlR7iNMk+9QAFBB8Nct8mwXpg31iHp5SeHmWNB f6cYSv4pULYxTF62Y3Nl =dyJV -----END PGP SIGNATURE----- --MdEjg5WkSuUg8x46-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/