Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754752AbbBKWYF (ORCPT ); Wed, 11 Feb 2015 17:24:05 -0500 Received: from mail-la0-f43.google.com ([209.85.215.43]:44823 "EHLO mail-la0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754704AbbBKWYA (ORCPT ); Wed, 11 Feb 2015 17:24:00 -0500 MIME-Version: 1.0 In-Reply-To: <57a94c8e1c4b020eb27efa8c31f149b6.squirrel@www.codeaurora.org> References: <250d9d48a62a2a46dba33a6f888fdd9e.squirrel@codeaurora.org> <1421181800-24323-1-git-send-email-jilaiw@codeaurora.org> <57a94c8e1c4b020eb27efa8c31f149b6.squirrel@www.codeaurora.org> Date: Wed, 11 Feb 2015 14:23:59 -0800 Message-ID: Subject: Re: [PATCH 2/2] drm/msm/hdmi: add hdmi hdcp support (V2) From: Bjorn Andersson To: Jilai Wang , Wolfram Sang Cc: "dri-devel@lists.freedesktop.org" , linux-arm-msm , "linux-kernel@vger.kernel.org" , Rob Clark Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1002 Lines: 24 On Wed, Feb 11, 2015 at 10:59 AM, wrote: > There is one issue to use i2c_smbus_XX functions: > i2c_smbus_read_i2c_block_data has limitation with the maximum count > I2C_SMBUS_BLOCK_MAX. > But in function hdmi_hdcp_recv_ksv_fifo, since the downstream ksv_fifo > size will exceed this limitation and must be read in a single transaction, > we can't use this function then. > That's interesting, because we have the same problem in the Synaptics driver, where we want to read more than 32 bytes with a method that follows the smbus flow. Wolfram, do you have any input on making i2c_smbus* functions work for larger accesses? Or should we just conclude that it's not "smbus" and open code this in the various places? Regards, Bjorn -- 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/