Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1549194

Re: [PATCH v7 2/5] i2c: Add STM32F4 I2C driver

From "M'boumba Cedric Madianga" <cedric.madianga@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v7 2/5] i2c: Add STM32F4 I2C driver
Date 2017-01-02 14:40 +0100
Message-ID <sVb0e-7pH-37@gated-at.bofh.it> (permalink)
References (1 earlier) <sRbUS-1Hh-5@gated-at.bofh.it> <sRu1r-4VR-5@gated-at.bofh.it> <sRxsl-6WV-1@gated-at.bofh.it> <sTtXj-5BX-7@gated-at.bofh.it> <sTuTn-6gV-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Uwe,

>> Is it possible to make it more obvious by doing:
>>
>>         status = read_from_status_register() & read_from_interrupt_enable_register();
>>
>> at a single place?
Contrary to what I said previously I have to keep possible_status
variable as for one irq enabled we allow several events.
For example, ITBUFEN allows to generate an irq for RXNE and for TXE events.
So, using status = read_from_status_register() &
read_from_interrupt_enable_register(); is not possible.

Best regards,

Cedric

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v7 0/5] Add support for the STM32F4 I2C M'boumba Cedric Madianga <cedric.madianga@gmail.com> - 2016-12-22 14:40 +0100
  [PATCH v7 5/5] ARM: configs: stm32: Add I2C support for STM32 defconfig M'boumba Cedric Madianga <cedric.madianga@gmail.com> - 2016-12-22 14:40 +0100
  [PATCH v7 4/5] ARM: dts: stm32: Add I2C1 support for STM32429 eval board M'boumba Cedric Madianga <cedric.madianga@gmail.com> - 2016-12-22 14:40 +0100
  [PATCH v7 3/5] ARM: dts: stm32: Add I2C1 support for STM32F429 SoC M'boumba Cedric Madianga <cedric.madianga@gmail.com> - 2016-12-22 14:50 +0100
    Re: [PATCH v7 3/5] ARM: dts: stm32: Add I2C1 support for STM32F429  SoC Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2016-12-22 20:20 +0100
      Re: [PATCH v7 3/5] ARM: dts: stm32: Add I2C1 support for STM32F429 SoC "M'boumba Cedric Madianga" <cedric.madianga@gmail.com> - 2016-12-23 14:20 +0100
        Re: [PATCH v7 3/5] ARM: dts: stm32: Add I2C1 support for STM32F429 SoC Linus Walleij <linus.walleij@linaro.org> - 2016-12-30 10:10 +0100
          Re: [PATCH v7 3/5] ARM: dts: stm32: Add I2C1 support for STM32F429 SoC "M'boumba Cedric Madianga" <cedric.madianga@gmail.com> - 2016-12-30 15:40 +0100
  [PATCH v7 2/5] i2c: Add STM32F4 I2C driver M'boumba Cedric Madianga <cedric.madianga@gmail.com> - 2016-12-22 14:50 +0100
    Re: [PATCH v7 2/5] i2c: Add STM32F4 I2C driver Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2016-12-23 10:10 +0100
      Re: [PATCH v7 2/5] i2c: Add STM32F4 I2C driver Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2016-12-28 22:30 +0100
        Re: [PATCH v7 2/5] i2c: Add STM32F4 I2C driver "M'boumba Cedric Madianga" <cedric.madianga@gmail.com> - 2016-12-28 23:30 +0100
          Re: [PATCH v7 2/5] i2c: Add STM32F4 I2C driver "M'boumba Cedric Madianga" <cedric.madianga@gmail.com> - 2017-01-02 14:40 +0100
  [PATCH v7 1/5] dt-bindings: Document the STM32 I2C bindings M'boumba Cedric Madianga <cedric.madianga@gmail.com> - 2016-12-22 14:50 +0100

csiph-web