|
|
@@ -278,14 +278,14 @@ static void delay_work_func(struct work_struct *work)
|
|
|
if(ac_flag >= 16 || sysfs_power_off_flag == 1)
|
|
|
#endif
|
|
|
{
|
|
|
- chardev_dev->status = 'p';
|
|
|
+ chardev_dev->status = 'P';
|
|
|
chardev_dev->data_len = 1;
|
|
|
wake_up_interruptible(&chardev_dev->read_queue);
|
|
|
}
|
|
|
|
|
|
if(rst_flag >= 3)
|
|
|
{
|
|
|
- chardev_dev->status = 'r';
|
|
|
+ chardev_dev->status = 'R';
|
|
|
chardev_dev->data_len = 1;
|
|
|
wake_up_interruptible(&chardev_dev->read_queue);
|
|
|
}
|