jhash: restore the old version of hash for serial number generation
authorPierre Tardy <pierre.tardy@intel.com>
Fri, 27 Jan 2012 16:20:05 +0000 (17:20 +0100)
committerbuildbot <buildbot@intel.com>
Fri, 27 Jan 2012 20:17:21 +0000 (12:17 -0800)
commitb9e92dcef42302bfb4e339ad167f7a1c3e924b9c
tree1f13148f9131489002895b170a257f654069e69f
parent90c711d128cbd36445d94d535a347add1f96f3d4
jhash: restore the old version of hash for serial number generation

BZ: 21473

having a different serial number for R2 and R3 is too annoying for people,
so we use the old version of the algorithm

This new file will only be included by android.c thus do not
impact any other user of jhash

Change-Id: I5ea9493de9380584a27cb128d042f5e32e0ab52f
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Reviewed-on: http://android.intel.com:8080/33094
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/usb/gadget/android.c
include/linux/jhashv2.h [new file with mode: 0644]