platform/x86/intel/sdsi: Set message size during writes
authorDavid E. Box <david.e.box@linux.intel.com>
Thu, 11 Apr 2024 02:58:48 +0000 (19:58 -0700)
committerHans de Goede <hdegoede@redhat.com>
Mon, 15 Apr 2024 14:05:50 +0000 (16:05 +0200)
commit7c277d4d16bac2e21ebb53e583d8db0b08cbdeb1
treeeeda299aa0754728246e50adae14e28fc4957df1
parent4086c75d6febf595379c50d64729041f7a521e24
platform/x86/intel/sdsi: Set message size during writes

New mailbox commands will support sending multi packet writes and updated
firmware now requires that the message size be written for all commands
along with the packet size. Since the driver doesn't perform writes larger
than the packet size, set the message size to the same value.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://lore.kernel.org/r/20240411025856.2782476-2-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/sdsi.c