Skip to content

Commit

Permalink
soundwire: cadence_master: add traces for clock_restart
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
  • Loading branch information
plbossart committed Dec 9, 2019
1 parent b09d05f commit 1861825
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/soundwire/cadence_master.c
Original file line number Diff line number Diff line change
Expand Up @@ -1327,6 +1327,8 @@ int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset)
{
int ret;

dev_dbg(cdns->dev, "%s: start\n", __func__);

ret = cdns_clear_bit(cdns, CDNS_MCP_CONTROL,
CDNS_MCP_CONTROL_CLK_STOP_CLR);
if (ret < 0) {
Expand Down Expand Up @@ -1372,6 +1374,8 @@ int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset)
if (ret < 0)
dev_err(cdns->dev, "bus failed to exit clock stop %d\n", ret);

dev_dbg(cdns->dev, "%s: end\n", __func__);

return ret;
}
EXPORT_SYMBOL(sdw_cdns_clock_restart);
Expand Down

0 comments on commit 1861825

Please sign in to comment.