Messages in this thread | | | Date | Sat, 12 Mar 2011 09:42:08 -0800 | From | Greg KH <> | Subject | Re: [stable] [PATCH] ad525x_dpot: [BUG] eeprom command send instead of dec/inc all commands |
| |
On Sat, Mar 12, 2011 at 02:08:21PM +0100, Richard Genoud wrote: > When a DEC_ALL or INC_ALL command is issued, an eeprom command is send. > This is because DPOT_DEC_ALL (DPOT_ADDR_CMD | 0x30) and DPOT_INC_ALL > (DPOT_ADDR_CMD | 0x58) defines overlap with DPOT_ADDR_EEPROM (0x20). > > So, DPOT_ADDR_CMD bit should be tested before DPOT_ADDR_EEPROM bit. > > Signed-off-by: Richard Genoud <richard.genoud@gmail.com> > --- > drivers/misc/ad525x_dpot.c | 4 ++--
This is not how you submit a patch for submission to the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.
thanks,
greg k-h
| |