Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752472AbYKGNES (ORCPT ); Fri, 7 Nov 2008 08:04:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750947AbYKGNEE (ORCPT ); Fri, 7 Nov 2008 08:04:04 -0500 Received: from yx-out-2324.google.com ([74.125.44.30]:15760 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807AbYKGNEC (ORCPT ); Fri, 7 Nov 2008 08:04:02 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=eNSM9OjdFp5t6TUCOuax4TjoLPJNxBcWMwC3SAOVva1zInjnN5Q0u8sT94HvKIGpc7 kZec/FBjbGd3ptnnxLG3U/CAP0GYe/RR2bhLjnasnoMSPKsNwuYCEmtWLwtMS5xFyZzh I3+/bp7yNJXpe8ewWUkcXdkm6bFWhezfwX4HE= Message-ID: Date: Fri, 7 Nov 2008 20:58:51 +0800 From: "Eric Miao" To: "Mike Rapoport" Subject: Re: [PATCH] mfd: da903x: fix event masking for da9030 Cc: sameo@openedhand.com, linux-kernel@vger.kernel.org In-Reply-To: <1225970631-15451-1-git-send-email-mike@compulab.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1225970631-15451-1-git-send-email-mike@compulab.co.il> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1007 Lines: 38 On Thu, Nov 6, 2008 at 7:23 PM, Mike Rapoport wrote: > > Signed-off-by: Mike Rapoport Acked-by: Eric Miao > --- > drivers/mfd/da903x.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/mfd/da903x.c b/drivers/mfd/da903x.c > index b57326a..0b5bd85 100644 > --- a/drivers/mfd/da903x.c > +++ b/drivers/mfd/da903x.c > @@ -267,7 +267,7 @@ static int da9030_mask_events(struct da903x_chip *chip, unsigned int events) > { > uint8_t v[3]; > > - chip->events_mask &= ~events; > + chip->events_mask |= events; > > v[0] = (chip->events_mask & 0xff); > v[1] = (chip->events_mask >> 8) & 0xff; > -- > 1.5.6.4 > > -- Cheers - eric -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/