|
@@ -158,7 +158,7 @@ static int gpio_ir_recv_probe(struct platform_device *pdev)
|
|
rcdev->input_id.version = 0x0100;
|
|
rcdev->input_id.version = 0x0100;
|
|
rcdev->dev.parent = &pdev->dev;
|
|
rcdev->dev.parent = &pdev->dev;
|
|
rcdev->driver_name = GPIO_IR_DRIVER_NAME;
|
|
rcdev->driver_name = GPIO_IR_DRIVER_NAME;
|
|
- rcdev->min_timeout = 0;
|
|
|
|
|
|
+ rcdev->min_timeout = 1;
|
|
rcdev->timeout = IR_DEFAULT_TIMEOUT;
|
|
rcdev->timeout = IR_DEFAULT_TIMEOUT;
|
|
rcdev->max_timeout = 10 * IR_DEFAULT_TIMEOUT;
|
|
rcdev->max_timeout = 10 * IR_DEFAULT_TIMEOUT;
|
|
if (pdata->allowed_protos)
|
|
if (pdata->allowed_protos)
|