aboutsummaryrefslogtreecommitdiff
path: root/include/linux/soundwire
diff options
context:
space:
mode:
authorSanyog Kale <[email protected]>2017-12-14 11:19:39 +0530
committerGreg Kroah-Hartman <[email protected]>2017-12-19 11:27:33 +0100
commitd52d7a1be02cc6da287bfaea7eebb0de1a77fbe2 (patch)
treea0a540a601e261253f8b90b1a5518c4623fc6abd /include/linux/soundwire
parent9d715fa005ebccc510a430df278665793528e31f (diff)
soundwire: Add Slave status handling helpers
SoundWire Slaves report status to bus. Add helpers to handle the status changes. Signed-off-by: Hardik T Shah <[email protected]> Signed-off-by: Sanyog Kale <[email protected]> Reviewed-by: Philippe Ombredanne <[email protected]> Acked-By: Pierre-Louis Bossart <[email protected]> Reviewed-by: Takashi Iwai <[email protected]> Signed-off-by: Vinod Koul <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/soundwire')
-rw-r--r--include/linux/soundwire/sdw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h
index d4fa95efe8cd..cbadddce470d 100644
--- a/include/linux/soundwire/sdw.h
+++ b/include/linux/soundwire/sdw.h
@@ -22,6 +22,8 @@ struct sdw_slave;
/* SDW Master Device Number, not supported yet */
#define SDW_MASTER_DEV_NUM 14
+#define SDW_NUM_DEV_ID_REGISTERS 6
+
#define SDW_MAX_DEVICES 11
/**