Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mei: bus: add mei_cldev_uuid

Add mei_cldev_uuid API on mei bus to allow client
to query what UUID it bound to.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Link: https://patch.msgid.link/20260405112326.1535208-2-alexander.usyskin@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alexander Usyskin and committed by
Greg Kroah-Hartman
3031b76d a5210135

+14
+13
drivers/misc/mei/bus.c
··· 602 602 EXPORT_SYMBOL_GPL(mei_cldev_set_drvdata); 603 603 604 604 /** 605 + * mei_cldev_uuid - return uuid of the underlying me client 606 + * 607 + * @cldev: mei client device 608 + * 609 + * Return: me client uuid 610 + */ 611 + const uuid_le *mei_cldev_uuid(const struct mei_cl_device *cldev) 612 + { 613 + return mei_me_cl_uuid(cldev->me_cl); 614 + } 615 + EXPORT_SYMBOL_GPL(mei_cldev_uuid); 616 + 617 + /** 605 618 * mei_cldev_ver - return protocol version of the underlying me client 606 619 * 607 620 * @cldev: mei client device
+1
include/linux/mei_cl_bus.h
··· 112 112 int mei_cldev_register_notif_cb(struct mei_cl_device *cldev, 113 113 mei_cldev_cb_t notif_cb); 114 114 115 + const uuid_le *mei_cldev_uuid(const struct mei_cl_device *cldev); 115 116 u8 mei_cldev_ver(const struct mei_cl_device *cldev); 116 117 size_t mei_cldev_mtu(const struct mei_cl_device *cldev); 117 118