Bluetooth: btmrvl: support sysfs initiated firmware coredump
Since commit 3c47d19ff4
("drivers: base: add coredump driver ops")
it is possible to initiate a device coredump from user-space. This
patch adds support for it in btmrvl_sdio adding the .coredump()
driver callback. This makes dump through debugfs obsolete so removing
it.
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
这个提交包含在:
@@ -358,12 +358,6 @@ int btmrvl_prepare_command(struct btmrvl_private *priv)
|
||||
return ret;
|
||||
}
|
||||
|
||||
void btmrvl_firmware_dump(struct btmrvl_private *priv)
|
||||
{
|
||||
if (priv->firmware_dump)
|
||||
priv->firmware_dump(priv);
|
||||
}
|
||||
|
||||
static int btmrvl_tx_pkt(struct btmrvl_private *priv, struct sk_buff *skb)
|
||||
{
|
||||
int ret = 0;
|
||||
|
在新工单中引用
屏蔽一个用户