diff options
| author | Michael Krufky <[email protected]> | 2008-05-10 17:34:09 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2008-05-14 05:56:46 +0000 |
| commit | 48723543aff1f46091840222490ded5fe09c0e37 (patch) | |
| tree | ce076b78ecae43f7ae22849277db6d496780cc8b /fs/jbd/commit.c | |
| parent | V4L/DVB (7891): cx18/ivtv: fix open() kernel oops (diff) | |
| download | kernel-48723543aff1f46091840222490ded5fe09c0e37.tar.gz kernel-48723543aff1f46091840222490ded5fe09c0e37.zip | |
V4L/DVB (7893): xc5000: bug-fix: allow multiple devices in a single system
The current code passes a context pointer in the xc5000_config struct.
This context pointer is used in the tuner_callback function, used to
reset the device after firmware download.
The xc5000_config struct is a static structure, whose .priv member was
being assigned before calling xc5000_attach(). If there are more than
one of the same device type installed on a single system, the last one
to assign xc5000_config.priv will "win", and all others will cease to
function properly.
This patch passes the context pointer in xc5000_attach() rather that
storing it within the static struct xc5000_config.
Signed-off-by: Michael Krufky <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
