hdmi4.c (552c69b36ebd966186573b9c7a286b390935cce1) | hdmi4.c (77eeac24b10fc84d3ffd5b11a897dff88dde244d) |
---|---|
1/* 2 * HDMI interface DSS driver for TI's OMAP4 family of SoCs. 3 * 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ 5 * Authors: Yong Zhi 6 * Mythri pk <mythripk@ti.com> 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 665 unchanged lines hidden (view full) --- 674 675 spin_unlock_irqrestore(&hd->audio_playing_lock, flags); 676} 677 678static int hdmi_audio_config(struct device *dev, 679 struct omap_dss_audio *dss_audio) 680{ 681 struct omap_hdmi *hd = dev_get_drvdata(dev); | 1/* 2 * HDMI interface DSS driver for TI's OMAP4 family of SoCs. 3 * 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ 5 * Authors: Yong Zhi 6 * Mythri pk <mythripk@ti.com> 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 665 unchanged lines hidden (view full) --- 674 675 spin_unlock_irqrestore(&hd->audio_playing_lock, flags); 676} 677 678static int hdmi_audio_config(struct device *dev, 679 struct omap_dss_audio *dss_audio) 680{ 681 struct omap_hdmi *hd = dev_get_drvdata(dev); |
682 int ret; | 682 int ret = 0; |
683 684 mutex_lock(&hd->lock); 685 686 if (hd->display_enabled) { 687 ret = hdmi4_audio_config(&hd->core, &hd->wp, dss_audio, 688 hd->cfg.vm.pixelclock); 689 if (ret) 690 goto out; --- 197 unchanged lines hidden --- | 683 684 mutex_lock(&hd->lock); 685 686 if (hd->display_enabled) { 687 ret = hdmi4_audio_config(&hd->core, &hd->wp, dss_audio, 688 hd->cfg.vm.pixelclock); 689 if (ret) 690 goto out; --- 197 unchanged lines hidden --- |