]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
thunderbolt: Split NVM read/write generic functions out from usb4.c
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 1 Apr 2021 13:54:15 +0000 (16:54 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 31 May 2021 11:37:48 +0000 (14:37 +0300)
commit9b383037770fcd6b03dd3793c89055b8490957e0
treeecc09be0875274d4126e978b0cc76a0160f3788b
parentfe6f6f95919ccdc8a3e2c5dae9b1740583e16523
thunderbolt: Split NVM read/write generic functions out from usb4.c

We do this for Thunderbolt 2/3 devices through DMA port, USB4 devices
and retimers pretty much the same way. Only the actual block read/write
is different. For this reason split out the NVM read/write functions
from usb4.c to nvm.c and make USB4 device code call these when needed.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/nvm.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/usb4.c