media: rcar-vin: Clean up correct notifier in error path
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tue, 2 Jul 2019 17:42:58 +0000 (13:42 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 25 Jul 2019 10:20:58 +0000 (06:20 -0400)
commit0bd465765f8d1300040de627f0a0971a8849d654
treee0899b52cc8af7fce92cec17198728c7140cee50
parent78b3e86b5a75b6fb3122b11d507023f1b194f663
media: rcar-vin: Clean up correct notifier in error path

The parallel input initialization error path cleans up the wrong
async notifier, fix this by cleaning up the correct notifier.

Fixes: 9863bc8695bc36e3 ("media: rcar-vin: Cleanup notifier in error path")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/rcar-vin/rcar-core.c