From: Anand Gadiyar Date: Mon, 16 Nov 2009 15:39:21 +0000 (+0530) Subject: USB: MUSB: save hardware revision at init X-Git-Tag: v2.6.33-rc1~315^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32c3b94e2b643bfeca5e48b0f7f0b81812c7a1d3;p=pandora-kernel.git USB: MUSB: save hardware revision at init MUSB: save hardware revision at init This can be used later to flag workarounds for issues affecting particular revisions. Saving this at init avoids having to read the HWVERS register multiple times in code. While at it, use macros to extract the version information instead of using hardcoded values. Signed-off-by: Anand Gadiyar Cc: Ajay Kumar Gupta Acked-by: Felipe Balbi Cc: David Brownell Cc: Sergei Shtylyov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed