Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60df3de8 authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by Dominik Brodowski
Browse files

pcmcia: fix indentation & braces disagreement - add braces



Broken by d8b0a49d (pcmcia: deprecate CS_BAD_VCC and
CS_BAD_VPP).

Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 67d11284
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -302,9 +302,10 @@ int pcmcia_modify_configuration(struct pcmcia_device *p_dev,
	/* We only allow changing Vpp1 and Vpp2 to the same value */
	if ((mod->Attributes & CONF_VPP1_CHANGE_VALID) &&
	    (mod->Attributes & CONF_VPP2_CHANGE_VALID)) {
		if (mod->Vpp1 != mod->Vpp2)
		if (mod->Vpp1 != mod->Vpp2) {
			ds_dbg(s, 0, "Vpp1 and Vpp2 must be the same\n");
			return -EINVAL;
		}
		s->socket.Vpp = mod->Vpp1;
		if (s->ops->set_socket(s, &s->socket)) {
			dev_printk(KERN_WARNING, &s->dev,