]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: madera: Add shared data for accessory detection
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 12 Nov 2018 15:28:37 +0000 (15:28 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 3 Jan 2019 08:32:42 +0000 (08:32 +0000)
commit01baf5270dbd72ad5da78368b491b12a42dc985c
tree0679bd7a187a97ca78c23a80e5f9895f8eac9f3e
parentec95bf8197a34a618f33effbf427b0d4786fc31f
mfd: madera: Add shared data for accessory detection

Add variables to struct madera that will be shared by the
extcon and audio codec drivers to synchronize output state
during accessory detection. Also add a mutex to protect
the DAPM pointer.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/madera-core.c
include/linux/mfd/madera/core.h