thunderbolt: Add tb_property_copy_dir()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 8 Jan 2021 12:38:24 +0000 (14:38 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Mar 2021 15:25:31 +0000 (18:25 +0300)
commit7d3084c0b77c6c417a16fc1c5bf3bc3149d20fab
treef0bb6a614b1a85b800b9547395a28d758dbbc4b2
parent3bb163331e3acafb217f4259b1987e5f56b0456a
thunderbolt: Add tb_property_copy_dir()

This function takes a deep copy of the properties. We need this in order
to support more dynamic properties per XDomain connection as required by
the USB4 inter-domain service spec.

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