projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'hwparam-20170420' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowell...
[platform/kernel/linux-rpi.git]
/
drivers
/
iio
/
dac
/
cio-dac.c
diff --git
a/drivers/iio/dac/cio-dac.c
b/drivers/iio/dac/cio-dac.c
index
dac0861
..
a8dffd9
100644
(file)
--- a/
drivers/iio/dac/cio-dac.c
+++ b/
drivers/iio/dac/cio-dac.c
@@
-119,6
+119,7
@@
static int cio_dac_probe(struct device *dev, unsigned int id)
indio_dev->channels = cio_dac_channels;
indio_dev->num_channels = CIO_DAC_NUM_CHAN;
indio_dev->name = dev_name(dev);
+ indio_dev->dev.parent = dev;
priv = iio_priv(indio_dev);
priv->base = base[id];