From: Richard Genoud Date: Thu, 21 Mar 2013 11:21:47 +0000 (+0100) Subject: pinmux: forbid mux_usecount to be set at UINT_MAX X-Git-Tag: v3.9-rc5~35^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=740924a267e85de09707ea158bbf594b4d8bae01;p=pandora-kernel.git pinmux: forbid mux_usecount to be set at UINT_MAX If pin_free is called on a pin already freed, mux_usecount is set to UINT_MAX which is really a bad idea. This will issue a warning, so that we can correct the code responsible for the double free. Signed-off-by: Richard Genoud Reviewed-by: Stephen Warren Signed-off-by: Linus Walleij --- Reading git-diff-tree failed