~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/platform/x86/ideapad-laptop.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 *  02110-1301, USA.
21
21
 */
22
22
 
 
23
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
24
 
23
25
#include <linux/kernel.h>
24
26
#include <linux/module.h>
25
27
#include <linux/init.h>
459
461
                if (test_bit(vpc_bit, &vpc1)) {
460
462
                        if (vpc_bit == 9)
461
463
                                ideapad_sync_rfk_state(adevice);
 
464
                        else if (vpc_bit == 4)
 
465
                                read_ec_data(handle, 0x12, &vpc2);
462
466
                        else
463
467
                                ideapad_input_report(priv, vpc_bit);
464
468
                }