Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758763Ab3DAPcy (ORCPT ); Mon, 1 Apr 2013 11:32:54 -0400 Received: from cassiel.sirena.org.uk ([80.68.93.111]:37932 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757463Ab3DAPcx (ORCPT ); Mon, 1 Apr 2013 11:32:53 -0400 Date: Mon, 1 Apr 2013 16:32:47 +0100 From: Mark Brown To: Jean Delvare Cc: Marek Vasut , Guenter Roeck , linux-kernel , Grant Likely , Linus Walleij Subject: Re: gpio-ucb1400 Message-ID: <20130401153247.GA13517@sirena.org.uk> References: <1364586399.4216.312.camel@amber.site> <201303302020.44584.marek.vasut@gmail.com> <20130330232559.GA12864@roeck-us.net> <201303311919.06030.marek.vasut@gmail.com> <1364814403.4943.7.camel@amber.site> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1364814403.4943.7.camel@amber.site> X-Cookie: Check your local listings. User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Scanned: No (on cassiel.sirena.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1085 Lines: 21 On Mon, Apr 01, 2013 at 01:06:43PM +0200, Jean Delvare wrote: > My point was, the upstream gpio-ucb1400 driver in its current form is > unusable (on top of being ugly.) I have no doubt that someone used that > driver successfully in some external kernel tree, but the code that was > merged upstream is incomplete and no good. What the driver is doing is, unfortunately, the best practice for an AC'97 connected device like this - we've got an uncomfortable mix of an enumerable bus and platform data combined with a subsystem which has never had enough love to work in a nice way with the kernel. The idea is that any boards which have the device will call the _set_data() function in their board-specific code. Sadly we're a little short on volunteers to clean up the AC'97 subsystem so this situation shows little sign of improving. -- 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/