# HG changeset patch # User Yoshiki Yazawa # Date 1267870397 -32400 # Node ID 8a2a032bfa5060bcabbf24907ab99ad394592f3f # Parent bc173c443e4d376290d566c103537434bd5f7ccb temporarily disabled set_sleepmode due to frequent read problem. diff -r bc173c443e4d -r 8a2a032bfa50 driver/pt1_pci.c --- a/driver/pt1_pci.c Wed Mar 03 03:54:05 2010 +0900 +++ b/driver/pt1_pci.c Sat Mar 06 19:13:17 2010 +0900 @@ -343,13 +343,13 @@ mutex_unlock(&device[lp]->lock); return -EIO ; } - +#if 0 /* wake tuner up */ set_sleepmode(channel->ptr->regs, &channel->lock, channel->address, channel->type, TYPE_WAKEUP); schedule_timeout_interruptible(msecs_to_jiffies(50)); - +#endif channel->drop = 0 ; channel->valid = TRUE ; channel->overflow = 0 ; @@ -389,10 +389,12 @@ } mutex_unlock(&channel->ptr->lock); +#if 0 /* send tuner to sleep */ set_sleepmode(channel->ptr->regs, &channel->lock, channel->address, channel->type, TYPE_SLEEP); schedule_timeout_interruptible(msecs_to_jiffies(50)); +#endif return 0; } @@ -755,7 +757,7 @@ // ½é´ü²½´°Î» for(lp = 0 ; lp < MAX_CHANNEL ; lp++){ set_sleepmode(dev_conf->regs, &dev_conf->lock, - i2c_address[lp], channeltype[lp], TYPE_SLEEP); + i2c_address[lp], channeltype[lp], TYPE_WAKEUP); schedule_timeout_interruptible(msecs_to_jiffies(50)); }