mbox series

[v2,00/17] Updates for turris-mox-rwtm driver

Message ID 20240613161045.29606-1-kabel@kernel.org (mailing list archive)
Headers show
Series Updates for turris-mox-rwtm driver | expand

Message

Marek BehĂșn June 13, 2024, 4:10 p.m. UTC
Hi Gregory, Arnd, Andy et al.

this is v2 of series of fixes, refactors and cleanups for the
turris-mox-rwtm driver.

v1 can be found at:
  https://patchwork.kernel.org/project/linux-soc/list/?series=861215

Changes since v1:
- complete dropping of driver's own kobject type

Marek

Marek BehĂșn (17):
  firmware: turris-mox-rwtm: Do not complete if there are no waiters
  firmware: turris-mox-rwtm: Fix checking return value of
    wait_for_completion_timeout()
  firmware: turris-mox-rwtm: Use macro constant instead of hardcoded
    4096
  firmware: turris-mox-rwtm: Use ETH_ALEN instead of hardcoded 6
  firmware: turris-mox-rwtm: Use the boolean type where appropriate
  firmware: turris-mox-rwtm: Hide signature related constants behind
    macros
  firmware: turris-mox-rwtm: Fix driver includes
  firmware: turris-mox-rwtm: Don't create own kobject type
  firmware: turris-mox-rwtm: Simplify debugfs code
  firmware: turris-mox-rwtm: Convert rest to devm_* and get rid of
    driver .remove()
  firmware: turris-mox-rwtm: Use dev_err_probe() where possible
  firmware: turris-mox-rwtm: Initialize completion before mailbox
  firmware: turris-mox-rwtm: Drop redundant device pointer
  firmware: turris-mox-rwtm: Use devm_mutex_init() instead of
    mutex_init()
  firmware: turris-mox-rwtm: Use container_of() instead of hwrng .priv
    member
  firmware: turris-mox-rwtm: Use EOPNOTSUPP instead of ENOSYS
  firmware: turris-mox-rwtm: Deduplicate command execution code

 drivers/firmware/turris-mox-rwtm.c | 381 ++++++++++++-----------------
 1 file changed, 155 insertions(+), 226 deletions(-)