diff options
author | Alan Tull <r80115@freescale.com> | 2012-02-17 13:34:53 -0600 |
---|---|---|
committer | Alan Tull <r80115@freescale.com> | 2012-02-17 13:45:10 -0600 |
commit | 6b063b2e6f2b5a258f2b3bcc92f81810af77a825 (patch) | |
tree | 3cc38b101143dcac23924b10ac22f626a097d348 /drivers/video | |
parent | 4f01f76f4e60713cba46b754f99e785c6d46e597 (diff) |
ENGR00173964 make hdmi audio init dependent on hdmi video init
Don't show hdmi as an audio playback device if hdmi isn't
configured on the command line.
Signed-off-by: Alan Tull <r80115@freescale.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/mxc_hdmi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c index 0462f09a8fee..9d95e94def82 100644 --- a/drivers/video/mxc_hdmi.c +++ b/drivers/video/mxc_hdmi.c @@ -2060,11 +2060,13 @@ static int mxc_hdmi_fb_event(struct notifier_block *nb, case FB_EVENT_FB_REGISTERED: dev_dbg(&hdmi->pdev->dev, "event=FB_EVENT_FB_REGISTERED\n"); mxc_hdmi_fb_registered(hdmi); + hdmi_set_registered(1); break; case FB_EVENT_FB_UNREGISTERED: dev_dbg(&hdmi->pdev->dev, "event=FB_EVENT_FB_UNREGISTERED\n"); hdmi->fb_reg = false; + hdmi_set_registered(0); break; case FB_EVENT_MODE_CHANGE: |