RE: [PATCH v18 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2015-01-18 Thread Dudley Du
ATCH v18 09/12] input: cyapa: add gen5 trackpad device firmware > update function support > > On Fri, Jan 16, 2015 at 02:34:12PM +0800, Dudley Du wrote: > > +/* APP_INTEGRITY row is always the last row block, > > + * and the row id must be 0x01ff */ > > +row_num = get_unali

Re: [PATCH v18 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2015-01-18 Thread Dmitry Torokhov
On Fri, Jan 16, 2015 at 02:34:12PM +0800, Dudley Du wrote: > + /* APP_INTEGRITY row is always the last row block, > + * and the row id must be 0x01ff */ > + row_num = get_unaligned_be16( > + >records[flash_records_count - 1].row_number); > + if

Re: [PATCH v18 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2015-01-18 Thread Dmitry Torokhov
On Fri, Jan 16, 2015 at 02:34:12PM +0800, Dudley Du wrote: + /* APP_INTEGRITY row is always the last row block, + * and the row id must be 0x01ff */ + row_num = get_unaligned_be16( + image-records[flash_records_count - 1].row_number); + if

RE: [PATCH v18 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2015-01-18 Thread Dudley Du
: add gen5 trackpad device firmware update function support On Fri, Jan 16, 2015 at 02:34:12PM +0800, Dudley Du wrote: +/* APP_INTEGRITY row is always the last row block, + * and the row id must be 0x01ff */ +row_num = get_unaligned_be16( +image-records[flash_records_count - 1].row_number