20 Sep, 2011

4 commits


14 Sep, 2011

1 commit

  • It is a reasonably common pattern for hardware to require some delay after
    being quiesced before the disable has finalised, especially in mixed signal
    devices. For example, an active discharge may be required to ensure that
    the circuit starts up again in a known state. Avoid having to implement
    such delays in the regulator API by providing regulator_deferred_disable()
    which will do a regulator_disable() a specified number of milliseconds
    after it is called.

    Due to the reference counting done on regulators a deferred disable can
    be cancelled by doing another regulator_enable().

    Signed-off-by: Mark Brown
    Acked-by: Liam Girdwood

    Mark Brown
     

08 Aug, 2011

2 commits

  • This is currently unused but we need to know which registers exist and
    their properties in order to implement diagnostics like register map
    dumps and the cache features.

    We use callbacks partly because properties can vary at runtime (eg, through
    access locks on registers) and partly because big switch statements are a
    good compromise between readable code and small data size for providing
    information on big register maps.

    Signed-off-by: Mark Brown

    Mark Brown
     
  • Commit d006199e72a9 ("serial: sh-sci: Regtype probing doesn't need to be
    fatal.") made sci_init_single() return when sci_probe_regmap() succeeds,
    although it should return when sci_probe_regmap() fails. This causes
    systems using the serial sh-sci driver to crash during boot.

    Fix the problem by using the right return condition.

    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     

07 Aug, 2011

7 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
    net: Compute protocol sequence numbers and fragment IDs using MD5.
    crypto: Move md5_transform to lib/md5.c

    Linus Torvalds
     
  • Computers have become a lot faster since we compromised on the
    partial MD4 hash which we use currently for performance reasons.

    MD5 is a much safer choice, and is inline with both RFC1948 and
    other ISS generators (OpenBSD, Solaris, etc.)

    Furthermore, only having 24-bits of the sequence number be truly
    unpredictable is a very serious limitation. So the periodic
    regeneration and 8-bit counter have been removed. We compute and
    use a full 32-bit sequence number.

    For ipv6, DCCP was found to use a 32-bit truncated initial sequence
    number (it needs 43-bits) and that is fixed here as well.

    Reported-by: Dan Kaminsky
    Tested-by: Willy Tarreau
    Signed-off-by: David S. Miller

    David S. Miller
     
  • * 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
    PM / Runtime: Allow _put_sync() from interrupts-disabled context
    PM / Domains: Fix pm_genpd_poweron()

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86: (38 commits)
    acer-wmi: support Lenovo ideapad S205 wifi switch
    acerhdf.c: spaces in aliased changed to *
    platform-drivers-x86: ideapad-laptop: add missing ideapad_input_exit in ideapad_acpi_add error path
    x86 driver: fix typo in TDP override enabling
    Platform: fix samsung-laptop DMI identification for N150/N210/220/N230
    dell-wmi: Add keys for Dell XPS L502X
    platform-drivers-x86: samsung-q10: make dmi_check_callback return 1
    Platform: Samsung Q10 backlight driver
    platform-drivers-x86: intel_scu_ipc: convert to DEFINE_PCI_DEVICE_TABLE
    platform-drivers-x86: intel_rar_register: convert to DEFINE_PCI_DEVICE_TABLE
    platform-drivers-x86: intel_menlow: add missing return AE_OK for intel_menlow_register_sensor()
    platform-drivers-x86: intel_mid_thermal: fix memory leak
    platform-drivers-x86: msi-wmi: add missing sparse_keymap_free in msi_wmi_init error path
    Samsung Laptop platform driver: support N510
    asus-wmi: add uwb rfkill support
    asus-wmi: add gps rfkill support
    asus-wmi: add CWAP support and clarify the meaning of WAPF bits
    asus-wmi: return proper value in store_cpufv()
    asus-wmi: check for temp1 presence
    asus-wmi: add thermal sensor
    ...

    Linus Torvalds
     
  • * 'stable/bug.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    xen/trace: Fix compile error when CONFIG_XEN_PRIVILEGED_GUEST is not set
    xen: Fix misleading WARN message at xen_release_chunk
    xen: Fix printk() format in xen/setup.c
    xen/tracing: it looks like we wanted CONFIG_FTRACE
    xen/self-balloon: Add dependency on tmem.
    xen/balloon: Fix compile errors - missing header files.
    xen/grant: Fix compile warning.
    xen/pciback: remove duplicated #include

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    Battery: sysfs_remove_battery(): possible circular locking

    Linus Torvalds
     
  • Two additional savage4 variants were added, but the S3_SAVAGE4_SERIES
    macro was incompletely modified, resulting in a false positive detection
    of a savage4 card regardless of which savage card is actually present.

    For non-savage4 series cards, such as a Savage/IX-MV card, this results
    in garbled video and/or a hard-hang at boot time. Fix this by changing
    an '||' to an '&&' in the S3_SAVAGE4_SERIES macro.

    Signed-off-by: John P. Stanley
    Reviewed-by: Tormod Volden
    [ The macros have incomplete parenthesis too, but whatever .. -Linus ]
    Signed-off-by: Linus Torvalds

    John Stanley
     

06 Aug, 2011

26 commits