---
name: "blk_post_runtime_suspend"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_post_runtime_suspend"
---

# blk\_post\_runtime\_suspend(9)

Post runtime suspend processing

## NAME

blk\_post\_runtime\_suspend - Post runtime suspend processing

## SYNOPSIS

**void blk\_post\_runtime\_suspend(struct request\_queue \*** *q***, int** *err***);**

## ARGUMENTS

*q*

the queue of the device

*err*

return value of the device's runtime\_suspend function

## DESCRIPTION

Update the queue's runtime status according to the return value of the device's runtime suspend function and mark last busy for the device so that PM core will try to auto suspend the device at a later time.

This function should be called near the end of the device's runtime\_suspend callback.

## COPYRIGHT
