i2c: at91: add support for runtime PM
authorWenyou Yang <wenyou.yang@atmel.com>
Fri, 24 Oct 2014 06:50:15 +0000 (14:50 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 10 Nov 2014 08:34:59 +0000 (09:34 +0100)
Drivers should put the device into low power states proactively whenever the
device is not in use. Thus implement support for runtime PM and use the
autosuspend feature to make sure that we can still perform well in case we see
lots of i2c traffic within short period of time.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-at91.c

Simple merge