Skip to content
Commit e16de913 authored by Graeme Smecher's avatar Graeme Smecher Committed by Guenter Roeck
Browse files

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: default avatarGraeme Smecher <gsmecher@threespeedlogic.com>
Cc: stable@vger.kernel.org # 3.2+
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent fbc729a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment