lkml.org 
[lkml]   [2012]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux
* Peter Ujfalusi <peter.ujfalusi@ti.com> [120911 01:54]:
> With pinctrl-single,bits it is possible to update just part of the register
> within the pinctrl-single,function-mask area.
> This is useful when one register configures mmore than one pin's mux.

> size /= sizeof(*mux); /* Number of elements in array */
> - rows = size / 2; /* Each row is a key value pair */
> + rows = size / params; /* Each row is a key value pair */

Maybe just remove the comment: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I don't think it's needed any longer. Other than that,
thanks for updating the patch:

Acked-by: Tony Lindgren <tony@atomide.com>


\
 
 \ /
  Last update: 2012-09-12 23:21    [W:0.059 / U:1.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site