Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753344AbbDAKJP (ORCPT ); Wed, 1 Apr 2015 06:09:15 -0400 Received: from mga09.intel.com ([134.134.136.24]:29954 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751141AbbDAKJM (ORCPT ); Wed, 1 Apr 2015 06:09:12 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,503,1422950400"; d="scan'208";a="475364525" From: Andy Shevchenko To: Stephen Boyd , linux-kernel@vger.kernel.org, heikki.krogerus@linux.intel.com Cc: Andy Shevchenko Subject: [PATCH v3 0/3] clk: fractional-divider: do a clean up Date: Wed, 1 Apr 2015 13:09:05 +0300 Message-Id: <1427882948-97260-1-git-send-email-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1301 Lines: 37 Patches are self-explanatory I think. So, just changelog is provided here. It would be really nice to queue them to v4.1. Patches 2/3 and 3/3 are dependent to the patch 1/7 from [1] "clk: replace div_mask() by clk_div_mask()". The series was tested with 8250_dw UART driver on Intel Braswell. [1] http://www.spinics.net/lists/kernel/msg1958958.html Changelog v3: - add patch 2/3 to simplify further usage - don't use mult_frac() due to potential overflow on 32 bit kernels - guarantee in ->round_rate() that m and n will not overflow Changelog v2: - move to rational_best_approximation() and mult_frac() - add patch 2/2 Andy Shevchenko (3): clk: fractional-divider: fix sparse warnings clk: fractional-divider: keep mwidth and nwidth internally clk: fractional-divider: switch to rational best approximation drivers/clk/Kconfig | 1 + drivers/clk/clk-fractional-divider.c | 86 +++++++++++++++++++++--------------- include/linux/clk-provider.h | 3 +- 3 files changed, 54 insertions(+), 36 deletions(-) -- 2.1.4 -- 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/