]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Bluetooth: btmrvl: support sysfs initiated firmware coredump
authorArend van Spriel <arend.vanspriel@broadcom.com>
Thu, 17 May 2018 22:15:12 +0000 (00:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 29 May 2018 13:59:50 +0000 (15:59 +0200)
commit45650499ee1844c0a6cc1ff143ea02b359fdac9b
tree13f3e83e24dc471936b36b81987bd5143cb33bd6
parent803cdb8ce584198cd45825822910cac7de6378cb
Bluetooth: btmrvl: support sysfs initiated firmware coredump

Since commit 3c47d19ff4dc ("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>
drivers/bluetooth/btmrvl_debugfs.c
drivers/bluetooth/btmrvl_drv.h
drivers/bluetooth/btmrvl_main.c
drivers/bluetooth/btmrvl_sdio.c