diff mbox

[3/3] radio-si470x: Fix error handling of si470x i2c driver

Message ID 1282726129-28408-3-git-send-email-jy0922.shim@samsung.com (mailing list archive)
State Accepted
Headers show

Commit Message

Joonyoung Shim Aug. 25, 2010, 8:48 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/radio/si470x/radio-si470x-i2c.c b/drivers/media/radio/si470x/radio-si470x-i2c.c
index 67a4ec8..4ce541a 100644
--- a/drivers/media/radio/si470x/radio-si470x-i2c.c
+++ b/drivers/media/radio/si470x/radio-si470x-i2c.c
@@ -395,7 +395,7 @@  static int __devinit si470x_i2c_probe(struct i2c_client *client,
 	radio->registers[POWERCFG] = POWERCFG_ENABLE;
 	if (si470x_set_register(radio, POWERCFG) < 0) {
 		retval = -EIO;
-		goto err_all;
+		goto err_video;
 	}
 	msleep(110);