[oe] [PATCH] linux-omap-psp-2.6.32 kernel: Fixed User-button GPIO to correct value for -xM

Khem Raj raj.khem at gmail.com
Thu Jun 30 08:13:13 UTC 2011


On 06/29/2011 09:51 PM, Joel A Fernandes wrote:
> Signed-off-by: Joel A Fernandes<agnel.joel at gmail.com>
> ---
>   ...agle-cleaned-up-board-revision-conditions.patch |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
> index 513a101..fb91cb6 100644
> --- a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
> +++ b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
> @@ -143,8 +143,8 @@ index 4bde54b..664a9c6 100644
>    	omap3_beagle_i2c_init();
>
>   -	if (cpu_is_omap3630()) {
> -+	if ((omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMAB)&&
> -+		(omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMC)) {
> ++	if ((omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMAB) ||
> ++		(omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMC)) {
>    		gpio_buttons[0].gpio = 4;
>    	}
>

while the patch seems good it does not follow the submission guidelines.




More information about the Openembedded-devel mailing list