~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/gpu/vga/vga_switcheroo.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
/* stage one happens before delay */
216
216
static int vga_switchto_stage1(struct vga_switcheroo_client *new_client)
217
217
{
218
 
        int ret;
219
218
        int i;
220
219
        struct vga_switcheroo_client *active = NULL;
221
220
 
228
227
        if (!active)
229
228
                return 0;
230
229
 
231
 
        /* power up the first device */
232
 
        ret = pci_enable_device(new_client->pdev);
233
 
        if (ret)
234
 
                return ret;
235
 
 
236
230
        if (new_client->pwr_state == VGA_SWITCHEROO_OFF)
237
231
                vga_switchon(new_client);
238
232