From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH] leds-ot200: Fix misbehavior caused by wrong bit masks Date: Wed, 13 Feb 2013 07:54:05 -0800 Message-ID: <20130213155405.GA2869@kroah.com> References: <1360771110-9490-1-git-send-email-christian.gmeiner@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1360771110-9490-1-git-send-email-christian.gmeiner@gmail.com> Sender: stable-owner@vger.kernel.org To: Christian Gmeiner Cc: cooloney@gmail.com, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, akpm@linux-foundation.org List-Id: linux-next.vger.kernel.org On Wed, Feb 13, 2013 at 04:58:30PM +0100, Christian Gmeiner wrote: > During the development of this driver an in-house register > documentation was used. The last weeks some integration tests > were done and this problem was found. It turned out that > the released register documentation is wrong. > > The fix is very simple: shift all masks by one. > > Our customers can control LEDs from userspace via Java, > C++ or what every. They have running/working applications where > they want to control led_3 but led_2 get's used. > I got a bug report in our in-house bug tracker so it would be > great to fix this upstream. > > Signed-off-by: Christian Gmeiner > --- > drivers/leds/leds-ot200.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.