diff driver/pt1_tuner.c @ 102:6e661e828b43

send tuners to sleep mode when they are inactive
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 24 Feb 2010 22:44:06 +0900
parents c940283dd890
children 4303bbfd5d37
line wrap: on
line diff
--- a/driver/pt1_tuner.c	Sun Feb 14 22:12:10 2010 +0900
+++ b/driver/pt1_tuner.c	Wed Feb 24 22:44:06 2010 +0900
@@ -194,23 +194,21 @@
 		case CHANNEL_TYPE_ISDB_S:
 			printk(KERN_INFO "PT1:ISDB-S Wakeup\n");
 			memcpy(&wk, &isdb_s_wake, sizeof(WBLOCK));
-			wk.addr = address ;
+			wk.addr = address;
 			i2c_write(regs, lock, &wk);
 
-			memcpy(&wk, &isdb_s_sleep, sizeof(WBLOCK));
-			wk.value[1] = 0x01 ;
-			wk.addr = address ;
+			memcpy(&wk, &isdb_s_wake2, sizeof(WBLOCK));
+			wk.addr = address;
 			i2c_write(regs, lock, &wk);
 			break ;
 		case CHANNEL_TYPE_ISDB_T:
 			printk(KERN_INFO "PT1:ISDB-T Wakeup\n");
 			memcpy(&wk, &isdb_t_wake, sizeof(WBLOCK));
-			wk.addr = address ;
+			wk.addr = address;
 			i2c_write(regs, lock, &wk);
 
-			memcpy(&wk, &isdb_s_sleep, sizeof(WBLOCK));
-			wk.value[1] = 0x90 ;
-			wk.addr = address ;
+			memcpy(&wk, &isdb_t_wake2, sizeof(WBLOCK));
+			wk.addr = address;
 			i2c_write(regs, lock, &wk);
 			break ;
 		}