diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2015-02-10 11:39:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-02 06:37:00 +0300 |
commit | db4756fd2f16efae8469dd1e37710919a0af9370 (patch) | |
tree | a7c6c91ac6a2345e397f2e23d3513b3d5e10ebf1 /drivers/oprofile/oprofile_files.c | |
parent | 3d33ff2457355a9dd3c3178b04ab6669882b306c (diff) | |
download | linux-db4756fd2f16efae8469dd1e37710919a0af9370.tar.xz |
mei: iamthif: fix device reset on mei_amthif_irq_read_msg
On failure mei_amthif_irq_read_msg returns an error
that will cause device reset but the issue is software one
so instead we should propagate error to caller and just
clean the read queues.
As a side effect also removes useless BUG_ONs
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/oprofile/oprofile_files.c')
0 files changed, 0 insertions, 0 deletions