diff options
author | Wan ZongShun <mcuos.com@gmail.com> | 2010-06-02 18:49:53 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-06-02 14:02:39 +0100 |
commit | 5ef650ae5c94ee4d593169b82b6c306093360765 (patch) | |
tree | 2d6355d8565a82eccb706ad57148ae3755ee0d75 /sound/oss/msnd_pinnacle.h | |
parent | 85252b6ae5f7e8bba570309d1945eba63c53ad3e (diff) |
ASoC: s6000: use resource_size for {request/release}_mem_region and ioremap
The size calculation is end - start + 1. But,sometimes, the '1' can
be forgotten carelessly, witch will have potential risk, so use resource_size
for {request/release}_mem_region and ioremap here should be good habit.
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Acked-by: Daniel Glöckner <dg@emlix.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/oss/msnd_pinnacle.h')
0 files changed, 0 insertions, 0 deletions