diff options
author | Graeme Smecher <gsmecher@threespeedlogic.com> | 2012-04-04 01:42:21 +0200 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-04-04 02:08:28 +0200 |
commit | e16de9137c8beab02d78fb4fa82bb96e9f3d0ac3 (patch) | |
tree | cbb7b2c9ab82934c0980f7d4a7ce471c50d4405f /drivers/hwmon/adt7470.c | |
parent | hwmon: (k10temp) Add support for AMD Trinity CPUs (diff) | |
download | linux-e16de9137c8beab02d78fb4fa82bb96e9f3d0ac3.tar.xz linux-e16de9137c8beab02d78fb4fa82bb96e9f3d0ac3.zip |
hwmon: (ad7314) Adds missing spi_dev initialization
This driver was recently moved from IIO (where it worked) to hwmon (where
it doesn't.) This breakage occured because the hwmon version neglected to
correctly initialize a reference to spi_dev in its drvdata. The result is a
segfault every time the temperature is queried.
Signed-off-by: Graeme Smecher <gsmecher@threespeedlogic.com>
Cc: stable@vger.kernel.org # 3.2+
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/adt7470.c')
0 files changed, 0 insertions, 0 deletions