lkml.org 
[lkml]   [2014]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] iio: add driver for the TI DAC8554
On 11/24/2014 08:50 PM, Nikolaus Schulz wrote:
[...]
> +const struct iio_chan_spec dac8554_channels[] = {

static

[...]
> + ret = of_property_read_u32(spi->dev.of_node, "address", &addr);

This should probably have vendor prefix.

> + if (ret || addr < 0 || addr > 2) {
> + dev_err(&spi->dev, "no or invalid chip address");
> + return -ENODEV;
> + }




\
 
 \ /
  Last update: 2014-12-13 13:01    [W:0.089 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site