lkml.org 
[lkml]   [2020]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 06/11] soundwire: intel: add multi-link hw_synchronization information
    Date
    From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

    set the flags as required by hardware implementation

    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    ---
    drivers/soundwire/intel.c | 7 +++++++
    1 file changed, 7 insertions(+)

    diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c
    index f4441684bd7e..89a8ad1f80e8 100644
    --- a/drivers/soundwire/intel.c
    +++ b/drivers/soundwire/intel.c
    @@ -1400,7 +1400,14 @@ int intel_master_startup(struct platform_device *pdev)
    dev_dbg(dev, "Multi-link is disabled\n");
    bus->multi_link = false;
    } else {
    + /*
    + * hardware-based synchronization is required regardless
    + * of the number of segments used by a stream: SSP-based
    + * synchronization is gated by gsync when the multi-master
    + * mode is set.
    + */
    bus->multi_link = true;
    + bus->hw_sync_min_links = 1;
    }

    /* Initialize shim, controller */
    --
    2.17.1
    \
     
     \ /
      Last update: 2020-08-18 16:36    [W:4.337 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site