diff options
| author | Tomas Henzl <thenzl@redhat.com> | 2014-08-14 16:12:39 +0200 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 19:15:04 +0200 |
| commit | f0a945861ac417773a69b1f5e7a8e5981cc35ca5 (patch) | |
| tree | 957a9e116447bd731f2da4ad921898c7f7921217 /include/uapi/linux/dvb | |
| parent | 450cb4e9c6736c01e6da1abc68d2ec3eef284b32 (diff) | |
hpsa: refine the pci enable/disable handling
commit 132aa220b45d60e9b20def1e9d8be9422eed9616 upstream.
When a second(kdump) kernel starts and the hard reset method is used
the driver calls pci_disable_device without previously enabling it,
so the kernel shows a warning -
[ 16.876248] WARNING: at drivers/pci/pci.c:1431 pci_disable_device+0x84/0x90()
[ 16.882686] Device hpsa
disabling already-disabled device
...
This patch fixes it, in addition to this I tried to balance also some other pairs
of enable/disable device in the driver.
Unfortunately I wasn't able to verify the functionality for the case of a sw reset,
because of a lack of proper hw.
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'include/uapi/linux/dvb')
0 files changed, 0 insertions, 0 deletions
