Revision 9289252bd1e6a37f8182f7c48e69927292fe9340 authored by Richard Cochran on 14 November 2019, 18:45:04 UTC, committed by David S. Miller on 15 November 2019, 20:48:32 UTC
This driver enables rising edge or falling edge, but not both, and so
this patch validates that the request contains only one of the two
edges.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c019b4b
Raw File
locking-selftest-rlock.h
/* SPDX-License-Identifier: GPL-2.0 */
#undef LOCK
#define LOCK		RL

#undef UNLOCK
#define UNLOCK		RU

#undef RLOCK
#define RLOCK		RL

#undef WLOCK
#define WLOCK		WL

#undef INIT
#define INIT		RWI
back to top