[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/3] pm_smbus: correctly report unclaimed cycles
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 0/3] pm_smbus: correctly report unclaimed cycles |
Date: |
Mon, 17 Feb 2014 12:23:43 +0100 |
Prodded by Alex David's i2c thread, I tried running i2cdetect on an x86
machine, and it reported all addresses as occupied. This small series
fixes it.
Paolo Bonzini (3):
smbus: allow returning an error from reads
smbus: return -1 if nothing found at the given address
pm_smbus: correctly report unclaimed cycles
hw/i2c/pm_smbus.c | 63 ++++++++++++++++++++++++++++++----------------
hw/i2c/smbus.c | 68 ++++++++++++++++++++++++++++++++++----------------
include/hw/i2c/smbus.h | 18 ++++++-------
3 files changed, 97 insertions(+), 52 deletions(-)
--
1.8.5.3
- [Qemu-devel] [PATCH 0/3] pm_smbus: correctly report unclaimed cycles,
Paolo Bonzini <=