---
name: "snd_soc_component_update_bits_async"
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/snd_soc_component_update_bits_async"
---

# snd\_soc\_component\_update\_bits\_async(9)

Perform asynchronous read/modify/write cycle

## NAME

snd\_soc\_component\_update\_bits\_async - Perform asynchronous read/modify/write cycle

## SYNOPSIS

**int snd\_soc\_component\_update\_bits\_async(struct snd\_soc\_component \*** *component***, unsigned int** *reg***, unsigned int** *mask***, unsigned int** *val***);**

## ARGUMENTS

*component*

Component to update

*reg*

Register to update

*mask*

Mask that specifies which bits to update

*val*

New value for the bits specified by mask

## DESCRIPTION

This function is similar to **snd\_soc\_component\_update\_bits**, but the update operation is scheduled asynchronously. This means it may not be completed when the function returns. To make sure that all scheduled updates have been completed **snd\_soc\_component\_async\_complete** must be called.

## RETURN

1 if the operation was successful and the value of the register changed, 0 if the operation was successful, but the value did not change. Returns a negative error code otherwise.

## COPYRIGHT
