]> www.infradead.org Git - users/willy/xarray.git/commit
firmware: turris-mox-rwtm: Deduplicate command execution code
authorMarek BehĂșn <kabel@kernel.org>
Sat, 31 Aug 2024 09:20:50 +0000 (11:20 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 2 Sep 2024 09:42:11 +0000 (09:42 +0000)
commita79f256fc99d6d7aa4a8c738c28cc876e5ef1435
tree12a6f1f7a188fbbd085038b6673805c88ddecd52
parent82944f65a0a59a44c397e3e22d592afdfb9b3074
firmware: turris-mox-rwtm: Deduplicate command execution code

Deduplicate rWTM command execution calls
  mbox_send_message()
  wait_for_completion()
  mox_get_status()
to one function
  mox_rwtm_exec()

Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20240831092050.23093-17-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/firmware/turris-mox-rwtm.c