]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mei: vsc: Utilize the appropriate byte order swap function
authorWentong Wu <wentong.wu@intel.com>
Tue, 25 Jun 2024 08:10:45 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jul 2024 10:21:39 +0000 (12:21 +0200)
commita896a8a127f45d00fb69fa7536955aa9b2e5d610
treee5f14719151813649e06a780ea40d1bc11f9fd29
parenta9e8fe38195ae6f8e5b32907a17b397ff3ce3e48
mei: vsc: Utilize the appropriate byte order swap function

Switch from cpu_to_be32_array() to be32_to_cpu_array() for the
received ROM data.

Fixes: 566f5ca97680 ("mei: Add transport driver for IVSC device")
Cc: stable@vger.kernel.org # for 6.8+
Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Tested-by: Jason Chen <jason.z.chen@intel.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20240625081047.4178494-4-wentong.wu@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/vsc-tp.c