diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-02-02 17:46:49 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-03 17:38:02 +0100 |
commit | 91b0cb0cc07bcb5114df2897531f4ea41c148c8e (patch) | |
tree | 908887701b13c5556b6d597f8c35299b43ec54ea /sound/x86/intel_hdmi_audio.h | |
parent | 73997b050c995f34f3617d344f1e767d15b2477d (diff) | |
download | op-kernel-dev-91b0cb0cc07bcb5114df2897531f4ea41c148c8e.zip op-kernel-dev-91b0cb0cc07bcb5114df2897531f4ea41c148c8e.tar.gz |
ALSA: x86: Rename drv_status to connected
After the rewrite of the runtime PM code, we have only two driver
status: CONNECTED and DISCONNECTED. So it's clearer to use a boolean
flag, and name it easier one, "connected".
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86/intel_hdmi_audio.h')
-rw-r--r-- | sound/x86/intel_hdmi_audio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h index dea51fc..9f713a8 100644 --- a/sound/x86/intel_hdmi_audio.h +++ b/sound/x86/intel_hdmi_audio.h @@ -80,7 +80,7 @@ struct ring_buf_info { * struct snd_intelhad - intelhad driver structure * * @card: ptr to hold card details - * @drv_status: driver status + * @connected: the monitor connection status * @buf_info: ring buffer info * @stream_info: stream information * @eld: holds ELD info @@ -95,7 +95,7 @@ struct ring_buf_info { */ struct snd_intelhad { struct snd_card *card; - enum had_drv_status drv_status; + bool connected; struct ring_buf_info buf_info[HAD_NUM_OF_RING_BUFS]; struct pcm_stream_info stream_info; unsigned char eld[HDMI_MAX_ELD_BYTES]; |