mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
pcmcia: re-enable Zoomed Video support
Allow drivers to enable Zoomed Video support. Currently, this is only used by out-of-tree drivers (L64020 DVB driver in particular). CC: <stable@kernel.org> [for 2.6.37] Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
644e6e4a7f
commit
33619f0d3f
@ -518,6 +518,8 @@ int pcmcia_enable_device(struct pcmcia_device *p_dev)
|
||||
flags |= CONF_ENABLE_IOCARD;
|
||||
if (flags & CONF_ENABLE_IOCARD)
|
||||
s->socket.flags |= SS_IOCARD;
|
||||
if (flags & CONF_ENABLE_ZVCARD)
|
||||
s->socket.flags |= SS_ZVCARD | SS_IOCARD;
|
||||
if (flags & CONF_ENABLE_SPKR) {
|
||||
s->socket.flags |= SS_SPKR_ENA;
|
||||
status = CCSR_AUDIO_ENA;
|
||||
|
@ -261,6 +261,7 @@ void pcmcia_disable_device(struct pcmcia_device *p_dev);
|
||||
#define CONF_ENABLE_ESR 0x0008
|
||||
#define CONF_ENABLE_IOCARD 0x0010 /* auto-enabled if IO resources or IRQ
|
||||
* (CONF_ENABLE_IRQ) in use */
|
||||
#define CONF_ENABLE_ZVCARD 0x0020
|
||||
|
||||
/* flags used by pcmcia_loop_config() autoconfiguration */
|
||||
#define CONF_AUTO_CHECK_VCC 0x0100 /* check for matching Vcc? */
|
||||
|
Loading…
Reference in New Issue
Block a user