mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
V4L/DVB: v4l: radio: si470x: fix unneeded free_irq() call
In case of error during probe() the driver calls free_irq() function on not yet allocated irq. This patches fixes the call sequence in case of the error. Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
b2b476f53a
commit
cc6e853c5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue