H Hartley Sweeten
6536560cab
Staging: dt3155: fix 50Hz configuration
...
According to the header file, dt3155_io.h, the 50/60 Hz configuration
is controlled by a bit in the I2C CSR2 register (bit 2). The function
dt3155_init_isr actually reads the I2C CONFIG register into the global
I2C_CSR union variable then modifies the bit. It then does a write
to the I2C CONFIG register with the global I2C_CONFIG union variable
which is not even set with a value anywhere in the driver.
My guess is 50Hz operation doesn't even work as-is.
Fix this by actually reading and writing the correct register with
the correct value.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Cc: Simon Horman <horms@verge.net.au >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-04-30 09:30:10 -07:00
..
2010-04-16 16:08:07 -04:00
2010-04-22 21:59:13 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-09 10:05:33 -07:00
2010-04-29 08:44:37 -07:00
2010-03-30 22:02:32 +09:00
2010-02-26 13:58:08 +01:00
2010-04-20 09:21:19 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:35:21 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-06 11:26:32 -08:00
2010-04-22 12:54:54 -07:00
2010-04-07 11:02:23 -07:00
2010-04-29 17:17:35 -07:00
2010-04-27 08:22:50 -07:00
2010-04-05 11:37:28 +09:00
2010-04-24 11:31:24 -07:00
2010-04-20 01:17:13 +01:00
2010-04-22 21:51:12 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-09 11:53:06 -07:00
2010-04-15 11:49:55 -07:00
2010-04-19 11:53:17 -07:00
2010-03-30 22:02:32 +09:00
2010-04-14 21:43:56 +09:30
2010-04-07 08:38:03 -07:00
2010-04-23 07:08:28 +10:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:31:26 -07:00
2010-04-07 08:38:03 -07:00
2010-04-28 07:56:05 -07:00
2010-04-28 12:18:27 -07:00
2010-03-30 22:02:32 +09:00
2010-04-05 11:37:28 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-29 17:16:36 -07:00
2010-04-26 20:09:07 +02:00
2010-04-23 15:23:21 -04:00
2010-04-06 17:06:22 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-28 15:24:34 +01:00
2010-04-07 08:38:05 -07:00
2010-04-22 08:43:59 -07:00
2010-03-30 22:02:32 +09:00
2010-04-22 11:11:02 -07:00
2010-04-29 17:17:35 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-12 17:26:14 +01:00
2010-04-30 09:30:10 -07:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00
2010-04-22 15:18:29 -07:00
2010-03-30 22:02:32 +09:00
2010-04-11 02:44:30 -07:00
2010-04-24 11:31:24 -07:00
2010-04-22 07:34:05 -07:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:31:25 -07:00
2010-04-27 07:58:47 +00:00
2010-03-30 22:02:32 +09:00
2010-02-15 15:38:10 +01:00
2010-03-06 11:26:28 -08:00
2010-03-08 20:21:04 +00:00