spi_bus_unlock(9)

spi_bus_unlock9

Release the lock for exclusive spi bus usage

Usage

int spi_bus_unlock(struct spi_master * master);

Arguments

master

SPI bus master that was locked for exclusive bus access

Context

can sleep

Overview

This call may only be used from a context that may sleep. The sleep is non-interruptible, and has no timeout.

This call releases an SPI bus lock previously obtained by an spi_bus_lock call.

It returns zero on success, else a negative error code.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.