---
name: "parport_set_timeout"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/parport_set_timeout"
---

# parport\_set\_timeout(9)

set the inactivity timeout for a device

## NAME

parport\_set\_timeout - set the inactivity timeout for a device

## SYNOPSIS

**long parport\_set\_timeout(struct pardevice \*** *dev***, long** *inactivity***);**

## ARGUMENTS

*dev*

device on a port

*inactivity*

inactivity timeout (in jiffies)

## DESCRIPTION

This sets the inactivity timeout for a particular device on a port. This affects functions like **parport\_wait\_peripheral**. The special value 0 means not to call **schedule** while dealing with this device.

The return value is the previous inactivity timeout.

Any callers of **parport\_wait\_event** for this device are woken up.

## COPYRIGHT
