Skip to contentSkip to conversation

Patch "iio: dac: mcp4725: set iio name property in sysfs" has been added to the 3.14-stable tree

PATCH [email protected] 1 participant 1 message Feb 24, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

iio: dac: mcp4725: set iio name property in sysfs

to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
iio-dac-mcp4725-set-iio-name-property-in-sysfs.patch
and it can be found in the queue-3.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 97a249e98a72d6b79fb7350a8dd56b147e9d5bdb Mon Sep 17 00:00:00 2001

From: Yong Li <[email protected]>
Date: Wed, 6 Jan 2016 09:09:43 +0800
Subject: iio: dac: mcp4725: set iio name property in sysfs

From: Yong Li <[email protected]>

commit 97a249e98a72d6b79fb7350a8dd56b147e9d5bdb upstream.

Without this change, the name entity for mcp4725 is missing in /sys/bus/iio/devices/iio\:device*/name

With this change, name is reported correctly

---
 drivers/iio/dac/mcp4725.c |    1 +
 1 file changed, 1 insertion(+)
drivers/iio/dac/mcp4725.c +1 -0
@@ -301,6 +301,7 @@ static int mcp4725_probe(struct i2c_clie
 	data->client = client;
 
 	indio_dev->dev.parent = &client->dev;
+	indio_dev->name = id->name;
 	indio_dev->info = &mcp4725_info;
 	indio_dev->channels = &mcp4725_channel;
 	indio_dev->num_channels = 1;

Patches currently in stable-queue which might be from [email protected] are

queue-3.14/iio-dac-mcp4725-set-iio-name-property-in-sysfs.patch