Re: [PATCH 1/4] iio: frequency: ad4350: Fix bug / typo in mask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/02/2013 06:10 PM, Jonathan Cameron wrote:
On 05/23/2013 04:00 PM, michael.hennerich@xxxxxxxxxx wrote:
From: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
I got lost in the original discussion.

Is this a fix for the current cycle, or does it want to go with the
rest of the series, for the next one?

I'm guessing you'll do a refreshed version with the bits in patch
4 fixed up so I'll wait for that to apply it.

Hi Jonathan,

I'll send out a new series shortly - 1/4 is fixing a bug -
if it can go into the current cycle that would be good.


Jonathan
Signed-off-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
---
  drivers/iio/frequency/adf4350.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/frequency/adf4350.c b/drivers/iio/frequency/adf4350.c
index a884252..e76d4ac 100644
--- a/drivers/iio/frequency/adf4350.c
+++ b/drivers/iio/frequency/adf4350.c
@@ -212,7 +212,7 @@ static int adf4350_set_freq(struct adf4350_state *st, unsigned long long freq)
  		(pdata->r2_user_settings & (ADF4350_REG2_PD_POLARITY_POS |
  		ADF4350_REG2_LDP_6ns | ADF4350_REG2_LDF_INT_N |
  		ADF4350_REG2_CHARGE_PUMP_CURR_uA(5000) |
-		ADF4350_REG2_MUXOUT(0x7) | ADF4350_REG2_NOISE_MODE(0x9)));
+		ADF4350_REG2_MUXOUT(0x7) | ADF4350_REG2_NOISE_MODE(0x3)));
st->regs[ADF4350_REG3] = pdata->r3_user_settings &
  				 (ADF4350_REG3_12BIT_CLKDIV(0xFFF) |



--
Greetings,
Michael

--
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin,
Margaret Seif


--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux