From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sricharan" Subject: RE: [PATCH 6/8] drivers: platform: Remove call to of_dma_(con/decon)figure_ops Date: Fri, 12 Aug 2016 21:12:07 +0530 Message-ID: <000b01d1f4b0$180b7300$48225900$@codeaurora.org> References: <1470696550-3416-1-git-send-email-sricharan@codeaurora.org> <1470696550-3416-7-git-send-email-sricharan@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-us List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: 'Tomasz Figa' Cc: 'Will Deacon' , "'open list:IOMMU DRIVERS'" , 'Laurent Pinchart' , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org Hi Tomaz, >> The dma_ops gets configured for the device generically during >> the device_attach call. So remove it from the platform bus probe. >> Similarly remove the deconfigure calls as well, since it is >> now called form the device_detach path. > >Doesn't this patch need to be squashed with previous one to avoid >breaking things in between by having the of_dma_configure_ops() called >two times? > okay, i did it this way, for the sake of review. But ya will squash it for the next post. Regards, Sricharan From mboxrd@z Thu Jan 1 00:00:00 1970 From: sricharan@codeaurora.org (Sricharan) Date: Fri, 12 Aug 2016 21:12:07 +0530 Subject: [PATCH 6/8] drivers: platform: Remove call to of_dma_(con/decon)figure_ops In-Reply-To: References: <1470696550-3416-1-git-send-email-sricharan@codeaurora.org> <1470696550-3416-7-git-send-email-sricharan@codeaurora.org> Message-ID: <000b01d1f4b0$180b7300$48225900$@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Tomaz, >> The dma_ops gets configured for the device generically during >> the device_attach call. So remove it from the platform bus probe. >> Similarly remove the deconfigure calls as well, since it is >> now called form the device_detach path. > >Doesn't this patch need to be squashed with previous one to avoid >breaking things in between by having the of_dma_configure_ops() called >two times? > okay, i did it this way, for the sake of review. But ya will squash it for the next post. Regards, Sricharan