From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756690AbcECVT1 (ORCPT ); Tue, 3 May 2016 17:19:27 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60088 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756527AbcECVT0 (ORCPT ); Tue, 3 May 2016 17:19:26 -0400 Date: Tue, 3 May 2016 14:19:24 -0700 From: Greg Kroah-Hartman To: Felipe Balbi Cc: Dan Carpenter , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [patch] usb: dwc3: gadget: fix mask and shift order in DWC3_DCFG_NUMP() Message-ID: <20160503211924.GB10279@kroah.com> References: <20160503074900.GA9816@mwanda> <87shxzfuhq.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87shxzfuhq.fsf@intel.com> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 03, 2016 at 10:53:05AM +0300, Felipe Balbi wrote: > > Hi, > > Dan Carpenter writes: > > In the original DWC3_DCFG_NUMP() was always zero. It looks like the > > intent was to shift first and then do the mask. > > > > Fixes: 2a58f9c12bb3 ('usb: dwc3: gadget: disable automatic calculation of ACK TP NUMP') > > Signed-off-by: Dan Carpenter > > Thanks for this fix, I completely missed it :-) Greg, if you want to > take this as a patch, that's fine by me. Otherwise I can queue it for > -rc1. In any case, S-o-B below: > > Signed-off-by: Felipe Balbi I'll take it, thanks. greg k-h