Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317314
b: refs/heads/master
c: 1a135d1
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Jun 12, 2012
1 parent 8549e00 commit 3270363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e86ee142a223ec85efda7c66b3e99fe79aa8cc4f
refs/heads/master: 1a135d1ab5e3122ab2a50cbbdb9cb1504c1f421f
4 changes: 2 additions & 2 deletions trunk/drivers/iio/frequency/adf4350.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ static ssize_t adf4350_write(struct iio_dev *indio_dev,
adf4350_sync_config(st);
break;
default:
ret = -ENODEV;
ret = -EINVAL;
}
mutex_unlock(&indio_dev->mlock);

Expand Down Expand Up @@ -311,7 +311,7 @@ static ssize_t adf4350_read(struct iio_dev *indio_dev,
val = !!(st->regs[ADF4350_REG2] & ADF4350_REG2_POWER_DOWN_EN);
break;
default:
ret = -ENODEV;
ret = -EINVAL;
}
mutex_unlock(&indio_dev->mlock);

Expand Down

0 comments on commit 3270363

Please sign in to comment.