commit | 8f9a0981aca6bd454ef2a4bdac510af0f6e55bd4 | [log] [tgz] |
---|---|---|
author | Murali Karicheri <m-karicheri2@ti.com> | Tue Nov 15 01:42:06 2011 +0530 |
committer | Sekhar Nori <nsekhar@ti.com> | Mon Dec 05 16:47:14 2011 +0530 |
tree | ac6fe47392799e2d7476c5dfd79801d2f89b96b5 | |
parent | 5611cc4572e889b62a7b4c72a413536bf6a9c416 [diff] |
ARM: davinci: psc: fix incorrect mask There are 5 LSB bits defined in PDSTAT and the code currently uses a mask of 1 bit to check the status. Use a proper mask per the hardware specification. While at it, use a #define for the mask to improve readability. Reviewed-by: Sergei Shtylyov <sshtylyov@mvista.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>