mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 10:11:38 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a521013548
commit
3031b76d65
@@ -601,6 +601,19 @@ void mei_cldev_set_drvdata(struct mei_cl_device *cldev, void *data)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mei_cldev_set_drvdata);
|
||||
|
||||
/**
|
||||
* mei_cldev_uuid - return uuid of the underlying me client
|
||||
*
|
||||
* @cldev: mei client device
|
||||
*
|
||||
* Return: me client uuid
|
||||
*/
|
||||
const uuid_le *mei_cldev_uuid(const struct mei_cl_device *cldev)
|
||||
{
|
||||
return mei_me_cl_uuid(cldev->me_cl);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mei_cldev_uuid);
|
||||
|
||||
/**
|
||||
* mei_cldev_ver - return protocol version of the underlying me client
|
||||
*
|
||||
|
||||
@@ -112,6 +112,7 @@ int mei_cldev_register_rx_cb(struct mei_cl_device *cldev, mei_cldev_cb_t rx_cb);
|
||||
int mei_cldev_register_notif_cb(struct mei_cl_device *cldev,
|
||||
mei_cldev_cb_t notif_cb);
|
||||
|
||||
const uuid_le *mei_cldev_uuid(const struct mei_cl_device *cldev);
|
||||
u8 mei_cldev_ver(const struct mei_cl_device *cldev);
|
||||
size_t mei_cldev_mtu(const struct mei_cl_device *cldev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user