From 9767c910fa20d8d1fef786795a271d5e236383ca Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Mon, 28 Nov 2011 09:08:53 -0300 Subject: [PATCH] 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-format-patch failed