hdmi5.c (552c69b36ebd966186573b9c7a286b390935cce1) | hdmi5.c (77eeac24b10fc84d3ffd5b11a897dff88dde244d) |
---|---|
1/* 2 * HDMI driver for OMAP5 3 * 4 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 5 * 6 * Authors: 7 * Yong Zhi 8 * Mythri pk --- 657 unchanged lines hidden (view full) --- 666 667 spin_unlock_irqrestore(&hd->audio_playing_lock, flags); 668} 669 670static int hdmi_audio_config(struct device *dev, 671 struct omap_dss_audio *dss_audio) 672{ 673 struct omap_hdmi *hd = dev_get_drvdata(dev); | 1/* 2 * HDMI driver for OMAP5 3 * 4 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 5 * 6 * Authors: 7 * Yong Zhi 8 * Mythri pk --- 657 unchanged lines hidden (view full) --- 666 667 spin_unlock_irqrestore(&hd->audio_playing_lock, flags); 668} 669 670static int hdmi_audio_config(struct device *dev, 671 struct omap_dss_audio *dss_audio) 672{ 673 struct omap_hdmi *hd = dev_get_drvdata(dev); |
674 int ret; | 674 int ret = 0; |
675 676 mutex_lock(&hd->lock); 677 678 if (hd->display_enabled) { 679 ret = hdmi5_audio_config(&hd->core, &hd->wp, dss_audio, 680 hd->cfg.vm.pixelclock); 681 if (ret) 682 goto out; --- 197 unchanged lines hidden --- | 675 676 mutex_lock(&hd->lock); 677 678 if (hd->display_enabled) { 679 ret = hdmi5_audio_config(&hd->core, &hd->wp, dss_audio, 680 hd->cfg.vm.pixelclock); 681 if (ret) 682 goto out; --- 197 unchanged lines hidden --- |