Commit b5fe6c47 authored by Geoffrey D. Bennett's avatar Geoffrey D. Bennett Committed by Takashi Iwai

ALSA: scarlett2: Formatting fixes

Add missing blank line before comment.

For consistency with other functions that have few parameters, move
the parameters onto the same line as the function name.
Signed-off-by: default avatarGeoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/72be568b02eea12621b0c4a96f8e8cc65b0c13c0.1703444932.git.g@b4.vuSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 9c2ea88e
...@@ -2149,6 +2149,7 @@ static int scarlett2_add_firmware_version_ctl( ...@@ -2149,6 +2149,7 @@ static int scarlett2_add_firmware_version_ctl(
return scarlett2_add_new_ctl(mixer, &scarlett2_firmware_version_ctl, return scarlett2_add_new_ctl(mixer, &scarlett2_firmware_version_ctl,
0, 0, "Firmware Version", NULL); 0, 0, "Firmware Version", NULL);
} }
/*** Sync Control ***/ /*** Sync Control ***/
/* Update sync control after receiving notification that the status /* Update sync control after receiving notification that the status
...@@ -3373,8 +3374,7 @@ static const struct snd_kcontrol_new scarlett2_speaker_switch_enum_ctl = { ...@@ -3373,8 +3374,7 @@ static const struct snd_kcontrol_new scarlett2_speaker_switch_enum_ctl = {
.put = scarlett2_speaker_switch_enum_ctl_put, .put = scarlett2_speaker_switch_enum_ctl_put,
}; };
static int scarlett2_add_speaker_switch_ctl( static int scarlett2_add_speaker_switch_ctl(struct usb_mixer_interface *mixer)
struct usb_mixer_interface *mixer)
{ {
struct scarlett2_data *private = mixer->private_data; struct scarlett2_data *private = mixer->private_data;
const struct scarlett2_device_info *info = private->info; const struct scarlett2_device_info *info = private->info;
...@@ -3542,8 +3542,7 @@ static const struct snd_kcontrol_new scarlett2_talkback_map_ctl = { ...@@ -3542,8 +3542,7 @@ static const struct snd_kcontrol_new scarlett2_talkback_map_ctl = {
.put = scarlett2_talkback_map_ctl_put, .put = scarlett2_talkback_map_ctl_put,
}; };
static int scarlett2_add_talkback_ctls( static int scarlett2_add_talkback_ctls(struct usb_mixer_interface *mixer)
struct usb_mixer_interface *mixer)
{ {
struct scarlett2_data *private = mixer->private_data; struct scarlett2_data *private = mixer->private_data;
const struct scarlett2_device_info *info = private->info; const struct scarlett2_device_info *info = private->info;
...@@ -4611,8 +4610,7 @@ static int scarlett2_read_configs(struct usb_mixer_interface *mixer) ...@@ -4611,8 +4610,7 @@ static int scarlett2_read_configs(struct usb_mixer_interface *mixer)
} }
/* Notify on sync change */ /* Notify on sync change */
static void scarlett2_notify_sync( static void scarlett2_notify_sync(struct usb_mixer_interface *mixer)
struct usb_mixer_interface *mixer)
{ {
struct scarlett2_data *private = mixer->private_data; struct scarlett2_data *private = mixer->private_data;
...@@ -4623,8 +4621,7 @@ static void scarlett2_notify_sync( ...@@ -4623,8 +4621,7 @@ static void scarlett2_notify_sync(
} }
/* Notify on monitor change */ /* Notify on monitor change */
static void scarlett2_notify_monitor( static void scarlett2_notify_monitor(struct usb_mixer_interface *mixer)
struct usb_mixer_interface *mixer)
{ {
struct snd_card *card = mixer->chip->card; struct snd_card *card = mixer->chip->card;
struct scarlett2_data *private = mixer->private_data; struct scarlett2_data *private = mixer->private_data;
...@@ -4650,8 +4647,7 @@ static void scarlett2_notify_monitor( ...@@ -4650,8 +4647,7 @@ static void scarlett2_notify_monitor(
} }
/* Notify on dim/mute change */ /* Notify on dim/mute change */
static void scarlett2_notify_dim_mute( static void scarlett2_notify_dim_mute(struct usb_mixer_interface *mixer)
struct usb_mixer_interface *mixer)
{ {
struct snd_card *card = mixer->chip->card; struct snd_card *card = mixer->chip->card;
struct scarlett2_data *private = mixer->private_data; struct scarlett2_data *private = mixer->private_data;
...@@ -4677,8 +4673,7 @@ static void scarlett2_notify_dim_mute( ...@@ -4677,8 +4673,7 @@ static void scarlett2_notify_dim_mute(
} }
/* Notify on "input other" change (level/pad/air) */ /* Notify on "input other" change (level/pad/air) */
static void scarlett2_notify_input_other( static void scarlett2_notify_input_other(struct usb_mixer_interface *mixer)
struct usb_mixer_interface *mixer)
{ {
struct snd_card *card = mixer->chip->card; struct snd_card *card = mixer->chip->card;
struct scarlett2_data *private = mixer->private_data; struct scarlett2_data *private = mixer->private_data;
...@@ -4704,8 +4699,7 @@ static void scarlett2_notify_input_other( ...@@ -4704,8 +4699,7 @@ static void scarlett2_notify_input_other(
/* Notify on "monitor other" change (direct monitor, speaker /* Notify on "monitor other" change (direct monitor, speaker
* switching, talkback) * switching, talkback)
*/ */
static void scarlett2_notify_monitor_other( static void scarlett2_notify_monitor_other(struct usb_mixer_interface *mixer)
struct usb_mixer_interface *mixer)
{ {
struct snd_card *card = mixer->chip->card; struct snd_card *card = mixer->chip->card;
struct scarlett2_data *private = mixer->private_data; struct scarlett2_data *private = mixer->private_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment