From: Dan Carpenter Date: Mon, 28 Nov 2011 12:08:53 +0000 (-0300) Subject: saa7164: fix endian conversion in saa7164_bus_set() X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9767c910fa20d8d1fef786795a271d5e236383ca;p=pandora-kernel.git saa7164: fix endian conversion in saa7164_bus_set() commit 773ddbd228dc16a4829836e1dc16383e44c8575e upstream. 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 Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed