From: Dan Carpenter Date: Mon, 28 Nov 2011 12:08:53 +0000 (-0300) Subject: [media] saa7164: fix endian conversion in saa7164_bus_set() X-Git-Tag: v3.3-rc1~48^2~461 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=773ddbd228dc16a4829836e1dc16383e44c8575e;p=pandora-kernel.git [media] saa7164: fix endian conversion in saa7164_bus_set() The msg->command field is 32 bits, and we should fill it with a call to cpu_to_le32(). The current code is broke on big endian systems. On little endian systems it truncates the 32 bit value to 16 bits which probably still works fine. Signed-off-by: Dan Carpenter Cc: Steven Toth Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed