soundwire: Add Slave status handling helpers
authorSanyog Kale <sanyog.r.kale@intel.com>
Thu, 14 Dec 2017 05:49:39 +0000 (11:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Dec 2017 10:27:33 +0000 (11:27 +0100)
commitd52d7a1be02cc6da287bfaea7eebb0de1a77fbe2
treea0a540a601e261253f8b90b1a5518c4623fc6abd
parent9d715fa005ebccc510a430df278665793528e31f
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 <hardik.t.shah@intel.com>
Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Acked-By: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/soundwire/bus.c
drivers/soundwire/bus.h
include/linux/soundwire/sdw.h